The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to enable mod_rewrite apache

Discussion in 'EasyApache' started by saros, Sep 11, 2013.

  1. saros

    saros Active Member

    Joined:
    Aug 28, 2013
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    mod_rewrite is not default in cpanel ?

    how to enable ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

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

    Code:
    root@server [~]# 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.
     
Loading...

Share This Page