Activity Stream
48,167 MEMBERS
6800 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Member
    Website's:
    hostingmates.com

    Default Disable modsecurity2

    How can we disable modsecurity2 in linux server?
    jibinthomas Reviewed by jibinthomas on . Disable modsecurity2 How can we disable modsecurity2 in linux server? Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    vaporhostn.com
    Mod_security has to do with apache.

    Check your apache modules that are enabled and comment it out then restart apache.

  4.     
    #3
    Member
    Website's:
    hostingmates.com
    I am updating my query. I want to disable mod security for a particular domain

  5.     
    #4
    Respected Member
    Have not tried this but here is one suggestion:
    Disabling Mod_Security Globally

    Step 1) Disable config file
    mv /etc/httpd/conf.d/00_mod_security.conf /etc/httpd/conf.d/00_mod_security.conf.disabled

    Step 2) Restart Apache

    service httpd restart

    Disabling Mod_security per domain

    For Plesk and similar systems you can also disable modsecurity in the Apache configuration.

    Step 1) Edit the vhost/vhost_ssl.conf for the domain
    vim /var/www/vhosts/<DOMAINNAME>/conf/vhost.conf

    Step 2) Add the following
    <IfModule mod_security2.c>
    SecRuleEngine Off
    </IfModule>

    Then restart apache, if you are using Plesk then you will also need follow steps 3 and 4.

    Step 3) Add vhost.conf to domain config
    /usr/local/psa/admin/bin/websrvmng -a

    Step 4) Restart Apache
    service httpd restart

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. how to disable tag [code] in VB 3.8.7
    By warung giras in forum Tutorials and Guides
    Replies: 3
    Last Post: 2nd Oct 2011, 12:08 PM
  2. Disable Signature in PM
    By Perl in forum IP.Board
    Replies: 2
    Last Post: 27th Feb 2011, 11:48 PM
  3. Disable Postcount?
    By Maniac_ in forum Feedback and Suggestions
    Replies: 34
    Last Post: 1st Feb 2011, 09:44 PM
  4. adsense ads disable
    By pioneer_fawad in forum Webmaster Discussion
    Replies: 0
    Last Post: 5th Dec 2009, 05:44 PM

Tags for this Thread

BE SOCIAL