Guest_imported
New member
- Jan 1, 1970
- 0
Hi everybody!
I've read a lot about apache URL rewriting here, but my problem is to use URL rewriting on my local development environment (in other words: offline). I use Apache 1.3.22 (Win32) and PHP 4.0.6 on a Windows XP client. I don't want to use the httpd.conf file because I haven't access on it at my provider. So I want to use the .htaccess file to redirect (nearly) all requests to one script in the web root directory.
My DOCUMENT_ROOT (httpd.conf) is "E:/Dokumente und Einstellungen/dimple/Eigene Dateien/ and the path to the PHP-files is then "project/html".
The following .htaccess doesn't work - I always get a "HTTP 400" error and I guess, it is a path problem?!
+++++++++++++++++++++
RewriteEngine On
RewriteRule !\.(gif|jpg|png|css)$ /project/html/index.php
+++++++++++++++++++++
This is from Till Quacks example, please see
Can somebody help?
I've read a lot about apache URL rewriting here, but my problem is to use URL rewriting on my local development environment (in other words: offline). I use Apache 1.3.22 (Win32) and PHP 4.0.6 on a Windows XP client. I don't want to use the httpd.conf file because I haven't access on it at my provider. So I want to use the .htaccess file to redirect (nearly) all requests to one script in the web root directory.
My DOCUMENT_ROOT (httpd.conf) is "E:/Dokumente und Einstellungen/dimple/Eigene Dateien/ and the path to the PHP-files is then "project/html".
The following .htaccess doesn't work - I always get a "HTTP 400" error and I guess, it is a path problem?!
+++++++++++++++++++++
RewriteEngine On
RewriteRule !\.(gif|jpg|png|css)$ /project/html/index.php
+++++++++++++++++++++
This is from Till Quacks example, please see
Can somebody help?