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_security on centos

Discussion in 'Security' started by 10101, Dec 10, 2004.

  1. 10101

    10101 Well-Known Member

    Joined:
    Sep 4, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Does anyone here have mod_security running on centos? would you mind sharing a how-to if so?
     
  2. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    look under the cPanel section of WHM in Addon Modules....you'll find mod_security as well as a lot of other nice things there.
     
  3. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    mod_security is a module for apache. It doesn't matter what OS you're running. ;)
     
  4. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Yeah as casey said it will run on any apache installation. I have a guide on my website how to do it under the cpanel guide. Be aware that if you do use it the ruleset it a bit sensitive...I am going to work on new rulesets over the next few weeks.
     
  5. 10101

    10101 Well-Known Member

    Joined:
    Sep 4, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    I have followed tutorials but get this when i try to restart the server:

    httpd startssl
    Syntax error on line 325 of /usr/local/apache/conf/httpd.conf:
    mod_security: Failed to open the audit log file: /var/log/httpd/audit_log
    /usr/sbin/httpd startssl: httpd could not be started
     
  6. 10101

    10101 Well-Known Member

    Joined:
    Sep 4, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Doh, just realised i needed to touch the audit _log.... not enough coffee :)
     
Loading...

Share This Page