I’ve recently been planning to move over to using Varnish (http://varnish-cache.org/) as my primary reverse proxy on a couple of servers. To that end I’ve been having a bit of a play configuring it and trying to get it to do all the quirky little bits I have the current Apache doing. One of those [...]
One you might not be aware of if you don’t read your log files. If you’ve been editing a .htaccess file and you’re getting 403 Forbidden errors on the site, it’s may not be down to some obscure bit of mod_rewrite code it could just be that Apache can’t read you .htaccess file. This shows [...]
Okay since this happens once in a blue moon I often find myself forgetting where to begin the troubleshooting, maybe now I’ll remember! Switching logging up to debug with the -e switch to httpd rarely shows up anything wrong, so start checking out the logs, not for information, but to see what’s wrong with the [...]
I just spent a day being a bit think. I needed to extract and process more than nine variables from a query string using mod_rewrite. Each time you use a pair of parenthesis/brackets i.e. ( ) mod_rewrite makes the contents of those available to you as a back-reference variable, accessed via $1 …$9 and %1 [...]
© Chillibear | Theme DePo Skinny | Header image from: Andrews, William: 'Curiosities of the Church: Studies of Curious Customs, Services and Records' (1891)