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: Enable PowerShell Remoting WinRM Client on Ubuntu 20.04

This note is a work-in-progress as the NTLM authentication support module by Microsoft for Ubuntu…

Windows WSL: How to Fix Broken bashrc File

Problem: When there's an incorrect setup of Windows Subsystem for Linux (WSL), where $HOME/.bashrc is…

How to Use ImageMagic to Resize Images

Converting PNG to JPG (optimized): # This is an optimized resizing command to convert PNG…