How to enable mod_rewrite

by Nirmala 2010-09-01 14:38:58

Enable mod_rewrite
Steps:
1. Login to your server.
2. Open your httpd.conf file. In Redhat you can find it at /etc/httpd/conf/httpd.conf
3. Edit httpd.conf
Search and change the following
#LoadModule rewrite_module modules/mod_rewrite.so

4.Remove the # at the beginning of the line. Should look like this
LoadModule rewrite_module modules/mod_rewrite.so

5. Save changes
6. Restart Apache Server. You can restart with this command
/etc/init.d/httpd restart

Tagged in:

1319
like
1
dislike
0
mail
flag

You must LOGIN to add comments