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.

Updating mod security

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

  1. saeed.ashour

    saeed.ashour Registered

    Joined:
    Aug 19, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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:
    Code:
    # 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:
    Code:
    # /scripts/restartsrv_httpd
    Here is an example of what the log entry may look like:
    Code:
    [notice] ModSecurity for Apache/2.5.12 (http://www.modsecurity.org/) 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:
      Code:
      # /scripts/easyapache
      # /scripts/easyapache --help
      # /scripts/easyapache --perldoc
    For additional EasyApache information I recommend the following documentation resource: Apache & cPanel/WHM
     
Loading...

Share This Page