Contact Menu

Search results for "prefork c worker c centos 6"

Screen Shot 2013-04-19 at 6.32.51 PM

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

…efficient daemon that scans log files for malicious activity, and offers several options to ban offending IPs and hostnames. Although it is highly configurable, it requires a depth of knowledge beyond that required for GUI-accessible firewalls such as ConfigServer Security & Firewall. Harden the Kernel Before do anything further, it is necessary to harden the […]

Continue Reading 1
APC INFO Monitor

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

…288:80> ServerName ServerAlias DocumentRoot /home/chris/public_html ErrorLog /var/log/serversoftware/chrisgilligan.com_error_log CustomLog /var/log/serversoftware/chrisgilligan.com_access_log combined ScriptAlias /cgi-bin/ /home/chris/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 Options Indexes IncludesNOEXEC FollowSymLinks… 4, 0, 0, 0 and 267.4

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

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

…um 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 have a login failure daemon to block offending IP addresses with multiple failed HTTP logins. ConfigServer Firewall works well, and […]

Continue Reading 0


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

Varnish VCL and Config for WordPress with W3 Total Cache

…header for getting original remote address set req.http.X-Forwarded-For = client.ip; # # logged in users must always pass if( req.url ~ “^/wp-(login|admin)” || req.http.Cookie ~ “wordpress_logged_in_” ){ return (pass); } # accept purges from w3tc and varnish http purge if (req.request == “PURGE”) { return (lookup); } # # don’t cache search results if( req.url […]

Continue Reading 23

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

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

Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only serving static HTML files. This presents challenges in security as well as performance tuning. It is impossible to predict whether a certain configuration will work properly […]

Continue Reading 9