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 modsecurity to only one account?

Discussion in 'Security' started by IRCBrasil, Nov 6, 2006.

  1. IRCBrasil

    IRCBrasil Well-Known Member

    Joined:
    Jul 22, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    There are how to disable modsecurity to only one account?

    Thanks.
     
  2. rustelekom

    rustelekom Well-Known Member
    PartnerNOC

    Joined:
    Nov 13, 2003
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    moscow
    into httpd.conf (between virtual host directivies) insert following:

    <IfModule mod_security.c>
    SecFilterEngine On
    SecFilterScanPOST On
    SecFilterDefaultAction "log,allow"
    </IfModule>

    that will disable blocking requests but will log it. or you may change
    SecFilterEngine On
    to
    SecFilterEngine Off

    and that will disable mod_security for user at all.

    you also may insert above to .htaccess (if that allowed by your .htaccess rules) in user public_html folder.
     
Loading...

Share This Page