Trying to make mod_rewrite to work on Windows
- by Psyche
Hello guys,
I'm having some trouble confinguring Apache mod_rewrite on Windows. I'm using latest version of XAMPP on Windows Vista.
Here's my httpd.conf file:
LoadModule rewrite_module modules/mod_rewrite.so
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory "D:/Server">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
My .htacces file looks like this:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /wcc/
RewriteRule ^red-wines/$ /red-wines.php [L]
When I try to access http://localhost/wcc/red-wines/ I get a 404 not found error.
Any ideea why?
Thanks.