To enable mod_rewrite on Apache in WAMP (2.0) the http.conf file should be edited.
1) Left click on WAMP icon on the system tray
2) Click on Apache
3) Click httpd.conf
Find the following line
# LoadModule rewrite_module modules/mod_rewrite.so
and
Remove hash(#) to make the line
LoadModule rewrite_module modules/mod_rewrite.so
Restart the Apache server or WAMP as a whole can be restarted.
No comments:
Post a Comment