Contact Menu

Search results for "apache wordpres virtual host"

APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…rtual servers). Instead, enable APC on a per-domain basis by modifying the respective /home/ — your httpd.conf or virtual.conf should look something like this for each virtual domain. ServerName ServerAlias DocumentRoot /home/chris/public_html ErrorLog /var/log/serversoftware/chrisgilligan.com_error_log CustomLog… 20, 1, 5, 0 and 1721.37

Continue Reading 54
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a […]

Continue Reading 4

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…inspection (SPI) firewall & login failure daemon (LFD) for your server: ConfigServer Firewall is an excellent free firewall & LFD. This will help prevent brute force probes, port flooding, DDOS, etc. If you have 600 virtual hosts running on a server, it is very likely that the server is experiencing constant malicious exploits, especially if […]

Continue Reading 9
Screen Shot 2012-09-07 at 11.09.50 AM

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…removed RPMforge repo due to some recent problems, but if you still need rpm forge repo: exclude=phpMyAdmin php-php-gettext Install PMA: yum install phpMyAdmin Apache Edit /etc/httpd/conf.d/phpMyAdmin.conf Allow all incoming hosts for a web hosting server, or only allow hosts you require: localhost, your local workstation, etc.) For a hosting server with open access, you should […]

Continue Reading 0

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…also assumes you have successfully installed APC Cache on your server, and set up a clean install of Virtualmin with Nginx as the Alternative Web Server. Switching from Apache to Nginx later is difficult, as is transferring apache virtual server backups. Best to start fresh and build from scratch. Testing the Virtualmin Nginx Modules Virtualmin […]

Continue Reading 18

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0 website

Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel

…utilize the server’s horsepower. Cpanel’s efault Apache and MySQL configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and recompiled Apache to better handle the needs of a high traffic WordPress site. Configured a large MySQL table and query cache based on performance and […]

Continue Reading 4
Screen Shot 2013-04-19 at 6.32.51 PM

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…in \(tried to use disabled|Disconnected \(auth failed).*rip=(?P\S*),.* …and here’s a substitute, created via experimentation with RegExr: failregex = .*auth.*pam.*dovecot.*(?:authentication failure).*rhost=.* How to create a valid RegEx to match the failures to ban? For that, one must monitor log files. In the case of Dovecot on Amazon Linux 2013, that would be /var/log/secure — same as […]

Continue Reading 1

Varnish VCL and Config for WordPress with W3 Total Cache

I have been working on a Varnish front-end for Apache, to be used with WordPress sites. I described the architecture in Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS. I now have a configuration that seems to work for all WordPress features, including logged-out commenting. This configuration also works well with W3 Total […]

Continue Reading 23


Chris Gilligan Web Developer, Information Architect, Web Server Administrator, Media Producer web • video • print I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Front-end UI design, HTML, PHP, LESS Linux Apache […]

Continue Reading