Creative Commons License
Drekendrop | Blog of Tutorial by Mei Pakpahan is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at drekendrop.blogspot.com.
Permissions beyond the scope of this license may be available at http://softdadesign.co.nr.

Share This

Monday, February 7, 2011

Enable mod_rewrite in Apache


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:

Anonymous said...

This thing work. Thanks man

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Grants For Single Moms