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 Transfer Files Via SSH or WinRM

Secured Shell (SSH) is the prevalent standard for remote accessing of Linux systems. Even Microsoft…

Install Fail2ban on CentOS 7 & 8

Objective: Ban all IPs that have failed logins by matching a certain policies. Here's a…

A Few Todos while Securing Apache Server

- Install mod_security - Set expose_php = Off in php.ini - Set SecResponseBodyAccess Off in…
Other project: DragonCoin.com