Reputation: 617
So I have an .htaccess file in a framework I am currently working on and it works on one computer but not on another. Both systems are windows 7 based and both are running WAMP Server 2.0. Not sure what this issue could be, but if anyone can lend a hand that'd be great.
RewriteEngine on
RewriteBase /home/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+) index.php/$1 [L]
Upvotes: 0
Views: 189
Reputation: 306
Have you checked that the line:
LoadModule rewrite_module modules/mod_rewrite.so
is uncommented in your Apache httpd.conf file on the second server?
Upvotes: 1
Reputation: 67735
I recall mod_rewrite
must be enabled manually in WAMP. Make sure it is (a phpinfo()
would tell you).
Upvotes: 1