Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    434

    Default Mod_Security logs..

    Hello everyone,

    Recently i compiled mod security as apache module by my own.... Now... Time ago I installed the add on "mod_security" from the AddOn Module at the WHM.. When I used this AddOn.. I was able to see the attack logs (sort by date, attack, action taken, IP, etc).. but now that I compiled mod security by my own from the source code I don't know where to find those logs? please can anyone tell me the path of attacks logs?

    thkz!

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    They're wherever you have configured them to be created in the mod_security container within httpd.conf using the SecAuditLog directive. Usually that is /usr/local/apache/logs/audit_log
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Member
    Join Date
    Sep 2004
    Location
    Hokksund, Norway
    Posts
    40

    Default

    Lately, these logs have been empty. Is there a problem with mod_security lately?
    (I have 7 cPanel servers - and all of them have empty audit_log-files.)

  4. #4
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    434

    Default

    the log is empty for me too ?????

  5. #5
    Member
    Join Date
    Jul 2005
    Posts
    74

    Default

    your logs are probably in /var/log/httpd/ ...

  6. #6
    Member
    Join Date
    Jul 2005
    Posts
    74

    Default

    i wonder if we can edit the file : /etc/cron.hourly/modsecparse.pl
    to tell it that the log file is not the one in apache directory ...

    I fear that it will be overwrited during an update/upgrade or anything ?

  7. #7
    Member sh4ka's Avatar
    Join Date
    May 2005
    Posts
    434

    Default

    i know where my apache logs are, but they still empy :S

Similar Threads & Tags
Similar threads

  1. mod_security logs
    By ffeingol in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-16-2008, 09:06 AM
  2. Replies: 0
    Last Post: 03-12-2008, 01:40 PM
  3. Idea: Mod_security logs for customers...
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-27-2008, 09:02 AM
  4. Logs of Mod_security
    By bryanabhay in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-12-2007, 04:01 PM
  5. From which file CPanel reads the logs for mod_security?
    By chris_j in forum cPanel Developers
    Replies: 4
    Last Post: 06-09-2006, 04:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube