how to enable mod_rewrite apache

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Mod_Rewrite is compiled with Apache by default on cPanel. EX:

Code:
[email protected] [~]# httpd -l|grep rewrite
  mod_rewrite.c
You can enable it for an account through the .htaccess file with a line such as:

Code:
RewriteEngine On
Thank you.