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!

Updating mod security

Discussion in 'Security' started by saeed.ashour, Aug 24, 2010.

  1. saeed.ashour

    saeed.ashour Registered

    Aug 19, 2010
    Likes Received:
    Trophy Points:
    i'm using cpanel (11.25 Stable 46156) with mod security installed , how i can i know the version of mod security that installed in the server.

    second how i can update mod security manually or make it update automatically ?

    and when cpanel updated is mod security updated too?
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Nov 5, 2008
    Likes Received:
    Trophy Points:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    The mod_security version is logged to the Apache error_log upon starting or restarting Apache/httpd; the specific version can be determined using the following command via root SSH access:
    # grep "modsecurity" /usr/local/apache/logs/error_log
    If you do not see the mod_security version, perhaps due to the log being rotated, simply restart Apache/httpd and then run the above command once more; if needed, you may use the following command to restart Apache/httpd:
    # /scripts/restartsrv_httpd
    Here is an example of what the log entry may look like:
    [notice] ModSecurity for Apache/2.5.12 ( configured.
    ModSecurity is updated independently of cPanel. When a new stable version of mod_security is released it will be put through Quality Assurance testing and upon passing it should then be available for installation and upgrades via EasyApache. When running EasyApache it will check for any available updates and automatically use the new version when rebuilding your Apache/httpd installation. EasyApache may be accessed using either of the following two methods:
    • Via root access to WebHost Manager (WHM):
      WHM: Main >> Software >> EasyApache (Apache Update)
    • Via root access to command-line SSH/console:
      # /scripts/easyapache
      # /scripts/easyapache --help
      # /scripts/easyapache --perldoc
    For additional EasyApache information I recommend the following documentation resource: Apache & cPanel/WHM
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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