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 Link to comment https://forums.phpfreaks.com/topic/81559-rewriteurl-does-not-work/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.