scanreg Posted June 22, 2008 Share Posted June 22, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/111354-rewrite-conditions-not-working-f-d-any-alternatives/ Share on other sites More sharing options...
trq Posted June 22, 2008 Share Posted June 22, 2008 What exactly are you wanting to do? That rule doesn't look at all valid to me. Quote Link to comment https://forums.phpfreaks.com/topic/111354-rewrite-conditions-not-working-f-d-any-alternatives/#findComment-571778 Share on other sites More sharing options...
scanreg Posted June 23, 2008 Author Share Posted June 23, 2008 Hi Thanks for jumping in, turns out the programmer has re-written the script to do things another way and seems okay so far. I'm really not sure what the mod_rewrite needed to do. Thanks, again Quote Link to comment https://forums.phpfreaks.com/topic/111354-rewrite-conditions-not-working-f-d-any-alternatives/#findComment-572144 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.