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!

Is Mod_security enabled?

Discussion in 'Security' started by MaRiOsGR66, Feb 9, 2013.

  1. MaRiOsGR66

    MaRiOsGR66 Well-Known Member

    Joined:
    Feb 18, 2011
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Hello,

    I've installed mod_security through easyapache from WHM,
    and I can see at Plugins -> Mod Security,

    also in /usr/local/apache/conf/
    I see
    -rw------- 1 root root 649 Nov 21 2011 modsec2.conf
    -rw------- 1 root root 97 Feb 8 2011 modsec2.user.conf
    -rw------- 1 root root 26K Oct 15 2010 modsec2.user.conf.default
    -rw------- 1 root root 0 Oct 15 2010 modsec2.user.conf.none
    -rw-r--r-- 1 root root 42 Feb 8 2011 modsec2.whitelist.conf

    (apache is restarted multiple times)

    but in a phpinfo(); page or php -i I cannot find any text about mod_sec or even the word security,
    doesn't that mean that mod_sec isn't loaded?
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    It's an Apache module, look for ex.:

    /etc/init.d/httpd -M | grep security
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MaRiOsGR66

    MaRiOsGR66 Well-Known Member

    Joined:
    Feb 18, 2011
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    thank you very much.
     
  4. PlotHost

    PlotHost Well-Known Member

    Joined:
    Apr 29, 2011
    Messages:
    255
    Likes Received:
    2
    Trophy Points:
    68
    Location:
    Romania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Don't forget to install some good 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