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 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. 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 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
Archived
This topic is now archived and is closed to further replies.