Linux - How to enable mod rewrite httpd, Apache enable mod rewrite

How to enable mod rewrite httpd


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
   # vi /etc/httpd/conf/httpd.conf

   # 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

The topic on Linux - How to enable mod rewrite httpd is posted by - Math

Hope you have enjoyed, Linux - How to enable mod rewrite httpdThanks for your time

Tech Bluff