Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member ramakant's Avatar
    Join Date
    Oct 2005
    Posts
    16

    Default mod_security rule

    I want to set the rules of mod_security manually

    How to to do set ?

    please advise.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    if you install mod_security with cpanel there is an applet for doing it under Addons in WHM

  3. #3
    Member ramakant's Avatar
    Join Date
    Oct 2005
    Posts
    16

    Default

    Yes, I have installed it now refer me for setting the rules,

    Thanks

  4. #4
    Member ramakant's Avatar
    Join Date
    Oct 2005
    Posts
    16

    Default

    I want to add the rules manually

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

  5. #5
    Member gupi's Avatar
    Join Date
    Apr 2004
    Posts
    125

    Default

    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
    Stefaniu -gupi- Criste
    Hangar Hosting - a safe place for your Romanian online business

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 06-22-2009, 03:00 AM
  2. problem with the RBL rule in Mod_security
    By nitaish in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-18-2009, 12:29 PM
  3. a mod_security rule is breaking one script on one account
    By Metro2 in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 05-03-2008, 04:22 PM
  4. mod_security 2.1.4 and the latest rule set (1.5.1)
    By DReade83 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-19-2007, 01:49 PM
  5. Mod_security Rule Assistance - Prevent SPAM
    By Sash in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-25-2007, 09:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube