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.

WHM mod_security module - log file location

Discussion in 'Security' started by chips12, Nov 23, 2010.

  1. chips12

    chips12 Active Member

    Joined:
    Nov 6, 2010
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    I have built Easy Apache with the mod security module.

    In the WHM section for plugins there is now a Mod Security option where I can edit modsec2.user.conf and also view log files.

    I cant see which log file is being detailed there, does anyone know what and where is the default location of the log file that is being shown there for the mod security easy apache module?
     
  2. chips12

    chips12 Active Member

    Joined:
    Nov 6, 2010
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    Since posting I have found that the logs that show in the WHM interface for mod sec, are coming from a database called modsec and that there is a perl script that is parsed hourly that transfers the data from the modsec_audit.log to the database. Now I just have to figure out why in my setup the log file is not getting to the database so my whm interface shows no logs...
     
Loading...

Share This Page