Contact Menu

Search results for "how-to-change-php-apc-settings"

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
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: 1 in body, 0 in title, 0 in categories, 4 in tags, 0 in other taxonomies, 0 in comments. Score: 170.92)

Continue Reading 25
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: 160.23)

Continue Reading 8
A screenshot of an Excel spreadsheet, with a list of WordPress post ID's in the first column, and a lis of category slugs in the second column

Use WP-CLI to add categories to posts

…step is to properly format and sanitize the spreadsheet, to change the category names to the correct corresponding slug. This was relatively simple in Excel, by changing the case of… (Search hits: 1 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 42.73)

Continue Reading 0