.htacess windows problem

Posted by pistacchio on Stack Overflow See other posts from Stack Overflow or by pistacchio
Published on 2010-04-16T06:38:52Z Indexed on 2010/04/16 6:43 UTC
Read the original article Hit count: 151

Filed under:
|
|
|

Hi,

In the root directory of a small site i'm developing i have the following .htacess file:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-F
RewriteRule .$ index.php

that basically allows me to have pretty urls as it remaps every path that does not exists on the server (eg : /user/details/145 ) as a call to index.php where I handle it MVC-style.

While this works ok on MacOs, this morning I have to work on another machine that has Windows (the apache server is run by xampp) and it does not work as it seems to redirect all the calls (eg those to static files like images) to index.php

Any help?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about apache