Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    4

    Default Updating mod security

    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. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by saeed.ashour View Post
    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?
    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

Similar Threads & Tags
Similar threads

  1. Mod Security
    By aaronkolodjski in forum Data Protection
    Replies: 7
    Last Post: 12-20-2009, 05:50 PM
  2. Mod Security?!
    By reporter in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 11-18-2009, 04:16 PM
  3. Updating Mod Security Rules
    By nitaish in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-02-2009, 03:25 PM
  4. Mod Security 2.5, or 2.0?
    By sh4ka in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-21-2008, 11:20 AM
  5. Simple security question about mod-security rule sets.
    By jols in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-09-2007, 04:37 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube