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.

mod_security2 - how to disable it via .htaccess ?

Discussion in 'Security' started by WebHostDog, Oct 18, 2007.

  1. WebHostDog

    WebHostDog Well-Known Member

    Joined:
    Sep 3, 2006
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    mod_security2 - how to disable it via .htaccess ?

    SecFilterEngine Off in .htaccess as in mod_security v1. lead to Error 500.

    Any ideas ? Apache2+mod_sec2 has been compiled via EA3.
     
  2. s.a.

    s.a. Active Member
    PartnerNOC

    Joined:
    Aug 16, 2007
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Toronto, Canada
  3. WebHostDog

    WebHostDog Well-Known Member

    Joined:
    Sep 3, 2006
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    if this with httpd.conf is working it is a solutio still :0
     
  4. cPanelBilly

    cPanelBilly Guest

    mod_security2 cannot be disabled via .htaccess. It can only be done inside of the VirtualHost of httpd.conf
     
  5. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    And that is good news for all Hosters.

    Imagine the problems from Clients turning off Server-wide Security that is supposed to protect all Client accounts.
     
  6. WebHostDog

    WebHostDog Well-Known Member

    Joined:
    Sep 3, 2006
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Hello,
    yes before you had an option to compile mod-sec1 with same option but default was - they can disable it via .htaccess.
     
Loading...

Share This Page