Contact Menu

Search results for "exclude-wp-admin-cache"

wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…we’re in admin area – i.e. commenters stay logged out if( beresp.http.Set-Cookie && req.url !~ “^/wp-(login|admin)” ){ unset beresp.http.Set-Cookie; } # # don’t cache response to posted requests or those… (Search hits: 23 in body, 1 in title, 0 in categories, 3 in tags, 0 in other taxonomies, 0 in comments. Score: 449.09)

Continue Reading 25

Integrating Content from External Sources into OU Campus Using RSS, PHP, and JavaScript

…create a cached RSS xml file. #!/bin/bash # Preload WordPress Feeds for Website # UTC News wget http://blog.utc.edu/news/headlines.xml/ -O /data/web/prod/www/_resources/rss/wp-news.tmp >/dev/null 2>&1 TMP_LASTBUILD=”$(xml_grep ‘/rss/channel/lastBuildDate’ –text_only /data/web/prod/www/_resources/rss/wp-news.tmp)” XML_LASTBUILD=”$(xml_grep ‘/rss/channel/lastBuildDate’ –text_only /data/web/prod/www/_resources/rss/wp-news.xml)”… (Search hits: 3 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 42.54)

Continue Reading 0

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
Screen Shot 2012-09-07 at 11.09.50 AM

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

…# But allowing phpMyAdmin to anyone other than localhost should be considered # dangerous unless properly secured by SSL Alias /phpMyAdmin /usr/share/phpMyAdmin Alias /phpmyadmin /usr/share/phpMyAdmin <Directory /usr/share/phpMyAdmin/> <IfModule mod_authz_core.c> #… (Search hits: 1 in body, 0 in title, 0 in categories, 0 in tags, 0 in other taxonomies, 0 in comments. Score: 34.16)

Continue Reading 0