Many posters have problems debugging their RewriteRule and RewriteCond statements within their .htaccess
files. Most of these are using a shar
Make sure you use the percent sign in front of variables, not the dollar sign.
It's %{HTTP_HOST}
, not ${HTTP_HOST}
. There will be nothing in the error_log, there will be no Internal Server Errors, your regexp is still correct, the rule will just not match. This is really hideous if you work with django / genshi templates a lot and have ${}
for variable substitution in muscle memory.