Forum Moderators: phranque
so, I recently bought a laptop and decided to transfer the stuff from my desktop to me laptop, so I installed WAMP (latest version). Well, the thing is most of my script use mod_rewrite. and apparently it is not working on my notebook, I get a 404 not found error, but it is working on my desktop. I think the possible reasons are: apache is not reading .htaccess, my .htaccess is wrong, or this #*$! windows vista (which I plan to get rid of very soon) simply won't let apache does its job.
there follows my info:
Apache 2.2.11
mod_rewrite IS ENABLED
I even wrote on httpd.conf
AccessFileName .htaccess
but still not working
my conf in httpd.conf
Options FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from all
Well, now there goes my .htaccess:
RewriteEngine On
Options +FollowSymLinks
IndexIgnore */*
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
I'vwe tried to delete .htaccess and many more things, my guess is that apache isn't reading .htaccess files.
I run Windows VIsta Home Basic
[edited by: jdMorgan at 10:44 pm (utc) on Mar. 6, 2009]
[edit reason] Tidied up [/edit]
Also, check the configuration and settings of MultiViews, mod_alias, mod_speling, and AcceptPathInfo, as these can interfere with mod_rewrite under certain circumstances.
It's easy to find out if your server isn't reading .htaccess: Put an invalid or mis-spelled directive in the file and look for the resulting server error when the file is processed.
Jim