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

Manually Create a SSL Certificate with LetsEncrypt

Step 1: Install certbot-auto mkdir /etc/letsencryptcd /etc/letsencrypt/wget chmod a+x certbot-auto Step 2: Create the Cert…

Install SSL on ScreenConnect

Generate cert & key from startssl.comSave the encrypted private keyDecrypt the private keyDownload files into…

Centos 5.3 Server preparation for web hosting

These are compatible Repositories: FreshRPMS, Dries, NewRPMS and PlanetCCRMA   Note: to update PHP and…