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!

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:
    1
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. s.a.

    s.a. Active Member
    PartnerNOC

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

    WebHostDog Well-Known Member

    Joined:
    Sep 3, 2006
    Messages:
    144
    Likes Received:
    1
    Trophy Points:
    166
    cPanel Access Level:
    Website Owner
    if this with httpd.conf is working it is a solutio still :0
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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,505
    Likes Received:
    1
    Trophy Points:
    318
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. WebHostDog

    WebHostDog Well-Known Member

    Joined:
    Sep 3, 2006
    Messages:
    144
    Likes Received:
    1
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice