Nathan Stanford II
Nathan Stanford II

Reputation: 617

htaccess mod_rewrite not working on another computer

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

Answers (2)

foxsoup
foxsoup

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

netcoder
netcoder

Reputation: 67735

I recall mod_rewrite must be enabled manually in WAMP. Make sure it is (a phpinfo() would tell you).

Upvotes: 1

Related Questions