Mod rewrite need help with code
Posted: Tue Aug 15, 2006 2:36 am
The following code :
Is triggering the following error in Apache:
For the url:
Why Apache is trying to get the backend when he should redirect to the backend.php?
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 offCode: Select all
[Tue Aug 15 10:34:38 2006] [error] [client 127.0.0.1] File does not exist: D:/proiecte/proiect/document_root/backendCode: Select all
http://localhost/proiect/document_root/backend/group