Saturday, 19 January 2013

How to configure the Apache mod_rewrite module on Centos



"mod_rewrite" is an Apache module used to manipulate URL's and is compiled into the base Apache HTTP Server in CentOS. more details http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html

Open the Apache configuration file following location and modify

        [root@sysadmin]#  vim   /etc/httpd/conf/httpd.conf

Change "AllowOverride None "to "AllowOverride All"




save and close.

Now restart the service 

           [root@sysadmin]#  /etc/init.d/httpd   restart


That solve...

No comments:

Post a Comment