What the heck is wrong with this?
RewriteEngine On
RewriteCond %{REQUEST_URI} !-f
RewriteRule ^/([^/.]+)\.html$ /test.php?filename=$1 [L]
It's rewriting EVERY request, even for files that do exist. When I try
-f instead of !-f, it doesn't rewrite any requests. I've also tried -F,
!-F, %{REQUEST_FILENAME}, and every combination of the mentioned
possibilites and every time I use the ! it rewrites everything, and
without the ! it won't rewrite anything. What's going on?
>> Stay informed about: RewriteCond Help