What does mod_rewrite do? If you have heard about htaccess (extension : .htaccess), then you might need it. Mod_rewrite has to be enable first if you want to use htaccess file on your website.
In this tutorial, i am using Appserv as my web server. But actually it won’t have a significant differences with other type of web servers (e.g XAMPP, LAMP, WAMP etc).
–1st step
Find http.conf file which is located in [drive]:\AppServ\Apache2.2\conf
–2nd step
Open http.conf in notepad. Find #LoadModule rewrite_module modules/mod_rewrite.so
–3rd step
Remove sharp (#) from #LoadModule rewrite_module modules/mod_rewrite.so then it supposed to be just LoadModule rewrite_module modules/mod_rewrite.so
–4th step
Restart your Apache. Then try to reload your website with your .htaccess inside.
Good luck!
1 comments:
This thing work. Thanks man
Post a Comment