If you are using WAMP as your web server, you may
face a typical issue that is the rewrite module (mod_rewrite) does not
work correctly. It is because the rewrite module is not enabled by default in Apache’s
configuration settings. But you can enable it yourself by doing few simple
steps:
·
Open apache’s configuration file using your most wanted text editor. The
configuration file usually locates at:
{apache_dir}/conf/httpd.conf
·
Search for the following string:
#LoadModule
rewrite_module modules/mod_rewrite.so
·
and uncomment it (remove the ‘#’ sign).
·
Now search for another string AllowOverride None and replace it
by AllowOverride All
· Finally save the
changes, close your text editor and restart your apache server.
No comments:
Post a Comment