Jump to content

rewrite conditions not working (-f, -d) - any alternatives ?


scanreg

Recommended Posts

I'm trying to get the following to work but the host says that it can't because of their server config:

 

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /subdir/test/test.php [L]

 

Would there be another way to write the above that also might work?

 

Many thanks  :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.