mod_rewrite REQUEST_FILENAME doesn't contain absolute path
- by Paul Dixon
I have a problem with a file test operation in a mod_rewrite RewriteCond entry which is testing whether %{REQUEST_FILENAME} exists. It seems that rather than %{REQUEST_FILENAME} being an absolute path, I'm getting a path which is rooted at the DocumentRoot instead.
Configuration
I have this inside a <VirtualHost> block in my apache 2.2.9…