Contact Menu

Search results for "setting-php-apc-in-php-ini"

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
chmod-linux-1

Recursive chmod Tricks

…only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ‘*.php‘ -exec chmod 644 {} \;… (Search hits: 3 in body, 0 in title, 0 in categories, 1 in tags, 0 in other taxonomies, 0 in comments. Score: 172.73)

Continue Reading 8
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…Varnish on a separate server, but should also work on a single server with appropriate changes to the port and backend IP settings. Varnish Config (/etc/sysconfig/varnish) # Configuration file for… (Search hits: 0 in body, 0 in title, 0 in categories, 4 in tags, 0 in other taxonomies, 0 in comments. Score: 138.18)

Continue Reading 25