Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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 disable .htaccess - AllowOverride None for 1 account only

Discussion in 'Workarounds and Optimization' started by MaRiOsGR66, Nov 15, 2017.

  1. MaRiOsGR66

    MaRiOsGR66 Well-Known Member

    Joined:
    Feb 18, 2011
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Hello,

    in a server I have Apache/2.4.25 with EasyApache 3 ,
    and a customer requested to have
    AllowOverride set as None in his vhost (to disable .htaccess lookup and make it faster).

    I've found this post about customizing the vhost files (How do I disable htaccess for a specific domain in cpanel?) in the forum but its 6 years old
    so I'm not sure it will work without causing problems.

    Can someone verify that this is the right way ?

    Thank you.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,700
    Likes Received:
    1,703
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. MaRiOsGR66

    MaRiOsGR66 Well-Known Member

    Joined:
    Feb 18, 2011
    Messages:
    104
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Thank you for the reply Michael,

    >>is there any reason you prefer not to migrate to EasyApache 4
    I was just finding it bit risky to do that in a server that has hundreds of active accounts.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,700
    Likes Received:
    1,703
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    We're happy to assist you in any way possible during the conversion. The following document includes some FAQ you can review before converting:

    EasyApache 4 FAQ - EasyApache 4 - cPanel Documentation

    Thank you.
     
Loading...

Share This Page