httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Емил Иванов / Emil Ivanov" <emil.vla...@gmail.com>
Subject [users@httpd] mod_rewrite do not rewrite internals
Date Sat, 05 May 2007 12:39:32 GMT
Hi,

I'm trying to make simple url rewriting for my site using mod_rewrite.

The .htaccess:

RewriteEngine On
RewriteRule ^(.*)$ index.php?path=$0

When I test with http://localhost/some/path/here
but instead of the path (some/path/here) I get index.php in the path?!?

I looked in the rewrite.log and it matches correctly but it doesn't
stop when the rule is matched and does it again for the rewritten
rule. I tried [NS] as a flag but it doesn't helped...

Any ideas would be appreciated.

Regards,
Emil Ivanov

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message