Contact Menu

Search results for "php-apc-not-showing-deleted-entries"

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

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… (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
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

…the category names to lowercase, removing all special characters such as ampersands and commas, and replacing spaces with hyphens. I didn’t need the titles at all, so I deleted that… (Search hits: 1 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 46.06)

Continue Reading 0