Lumio Posted December 13, 2007 Share Posted December 13, 2007 Hi My problem is, that I don't want to allow to overwrite existing files I solved that with RewriteCond %{REQUEST_FILENAME}\.* -f But now also RewriteRule does not work. My .htaccess: RewriteEngine On RewriteCond %{REQUEST_FILENAME}\.* -f RewriteRule ^(.*)$ index.php RewriteRule ^([\w\d]+)/([\w]+)$ index.php?file=$1&action=$2 When I try to open mydomain.com/test/rewrite (does not exist) it does not work. Why? greetings Quote Link to comment https://forums.phpfreaks.com/topic/81559-rewriteurl-does-not-work/ 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.