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.

disable htaccess permanentely

Discussion in 'General Discussion' started by jcorreia, Apr 4, 2007.

  1. jcorreia

    jcorreia Well-Known Member

    Joined:
    Apr 25, 2005
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Hi,
    I´ve disabled in httpd.conf the support to htaccess to improve performance. Since my vps is for internal use I know exactly what´r running there, so no problem with any user, because I´me moved all possible contents to httd.conf.
    For this I only needed to change 'AllowOverride All' to 'AllowOverride none'.
    So far so good, but once in a while and with cpanel updates it keeps rolling back to AllowOverride All.

    How can I make this change permanent ?

    Thanks
     
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Put the 'AllowOverride None' in httpd.conf but not only in the default section but
    also in <Directory> sections in each of your vhosts as well which gives you a
    safety net if the general .htaccess setting is updated
     
  3. jcorreia

    jcorreia Well-Known Member

    Joined:
    Apr 25, 2005
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    Thanks, that´s a good workaround and I will do it, but doesn´t completely solves the problem.
    Isn´t there a way ? Maybe some interface like exim has in WHM ?
    Thanks..
     
Loading...

Share This Page