Hi
I'm having real trouble getting mod_rewrite to run properly on my Windows machine. These are the directives stored in an htaccess file in the root directory:
<htaccess>
DirectoryIndex home.php
index.php index.html
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . %{REQUEST_FILENAME}.php [L]
RewriteCond %{REQUEST_URI} !(.*)/$
</htaccess>
This works as expected on a unix web server (rewrites 'server.com/about_us.php' to 'server.com/about_us') but generates the following error on my Windows machine:
"You don't have permission to access /E:/Web/id_web/about_us.php
on this server."
The server log says:
"[Fri Aug 18 12:54:48 2006] [error] [client 127.0.0.1] (20023)The given path was above the root path: Cannot map GET /about_us HTTP/1.1 to file, referer:
http://id.com/"
Anyone any ideas please?
Thanks
Tim
Apache 2.2
Windows XP Pro
- [EMAIL PROTECTED] mod_rewrite, windows problems Tim Stickland