Enable Mod_rewrite Url rewrite

vim /etc/httpd/conf/httpd.conf


Line 306, change the directory name to:
<Directory "/home/www">

line 237, set:
AllowOverride All

Line 564, if you're using cgi-bin:
ScriptAlias /cgi-bin/ "/home/www/cgi-bin/"

Line 570, change to "/home/www/cgi-bin" and AllowOverride all
Posted on Categories Linux

Leave a Reply

Your email address will not be published. Required fields are marked *