Posted On April 1, 2019

Enable Mod_rewrite Url rewrite

kimconnect 0 comments
blog.KimConnect.com >> Linux >> 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

Leave a Reply

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

Related Post

Linux Filesystem Hierarchy Standard (FHS)

/bin : binaries to run fundamental Linux functions/boot : boot partition/cdrom : legacy mounting point/dev…

Setup LAMP using RedHat 7

// Add a new user and set it with root privileges: sudo su useradd {root-user}…

PKGSRC

wget ftp://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc.tar.gz mkdir ~/usr tar -xzvf pkgsrc.tar.gz -C ~/usr ~/usr/pkgsrc/bootstrap/bootstrap --unprivileged # for permanence, put…