Results 1 to 4 of 4
-
23rd Mar 2012, 11:41 AM #1OPMemberWebsite's:
hostingmates.comDisable 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
-
23rd Mar 2012, 01:04 PM #2BannedWebsite's:
vaporhostn.comMod_security has to do with apache.
Check your apache modules that are enabled and comment it out then restart apache.
-
26th Mar 2012, 02:36 PM #3OPMemberWebsite's:
hostingmates.comI am updating my query. I want to disable mod security for a particular domain
-
26th Mar 2012, 04:28 PM #4Respected 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
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
how to disable tag [code] in VB 3.8.7
By warung giras in forum Tutorials and GuidesReplies: 3Last Post: 2nd Oct 2011, 12:08 PM -
Disable Signature in PM
By Perl in forum IP.BoardReplies: 2Last Post: 27th Feb 2011, 11:48 PM -
Disable Postcount?
By Maniac_ in forum Feedback and SuggestionsReplies: 34Last Post: 1st Feb 2011, 09:44 PM -
adsense ads disable
By pioneer_fawad in forum Webmaster DiscussionReplies: 0Last Post: 5th Dec 2009, 05:44 PM
themaCreator - create posts from...
Version 3.24 released. Open older version (or...