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

How to configure CentOS 5.2 to use RPMForge and YUM

rpm -Uhv yum update   Yum install [package name] Yup info [package name] Yum remove…

Linux: ‘Initramfs Unpacking Failed’ Error Upon Booting

Error: initramfs unpacking failed: Decoding failed Resolution: sudo sed -i 's/COMPRESS=lz4/COMPRESS=gzip/g' /etc/initramfs-tools/initramfs.confsudo update-initramfs -u# reboot…

How To Run Python Interactive Command Line Mode (CLI)

Windows PS C:\WINDOWS\system32> python Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit…