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_security rule

Discussion in 'Security' started by ramakant, Dec 8, 2005.

  1. ramakant

    ramakant Member

    Joined:
    Oct 5, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    I want to set the rules of mod_security manually

    How to to do set ?

    please advise.
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    769
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    /dev/null
    if you install mod_security with cpanel there is an applet for doing it under Addons in WHM
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ramakant

    ramakant Member

    Joined:
    Oct 5, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    Yes, I have installed it now refer me for setting the rules,

    Thanks
     
  4. ramakant

    ramakant Member

    Joined:
    Oct 5, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    I want to add the rules manually

    Tell me which rules I can set and in which file those to be set.
     
  5. gupi

    gupi Well-Known Member

    Joined:
    Apr 27, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    166
    You can edit the file directly, via SSH:
    - logon via ssh onto your machine
    - search for modsec.user.conf file ( /usr/local/apache/conf/modsec.user.conf in my case)
    - modify it
    - save it and use the new rules
     
    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