Page 1 of 1

Mod rewrite need help with code

Posted: Tue Aug 15, 2006 2:36 am
by fastfingertips
The following code :

Code: Select all

RewriteEngine on
RewriteCond  %{REQUEST_URI}	 !\.(js|ico|gif|jpg|png|css)$
RewriteRule ^.*backend\/.*$ backend.php [L,S=1]
RewriteRule ^((?!backend).)*$ index.php [L]
php_value include_path ".;d:/proiecte/proiect/library"
php_value include_path ".;d:/proiecte/proiect"
RewriteEngine off
Is triggering the following error in Apache:

Code: Select all

[Tue Aug 15 10:34:38 2006] [error] [client 127.0.0.1] File does not exist: D:/proiecte/proiect/document_root/backend
For the url:

Code: Select all

http://localhost/proiect/document_root/backend/group
Why Apache is trying to get the backend when he should redirect to the backend.php?