-
How to disable mod_security from .htaccess?
How to disable mod_security from .htaccess?
odSecurity is an open source embeddable web application firewall, or intrusion detection and prevention engine for web applications
ModSecurity provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure, by operating as an Apache Web server
module mod_security or standalone, and thus increase web application security
If you’re using Apache web server (which mostly do), mod_security can be disabled by adding a specific in .htaccess file. Locate the .htaccess file in Apache web
root directory (public_html or /var/www/ or others), if it does not exist, create a new file named .htaccess, and add in the following code:
SecFilterEngine Off
SecFilterScanPOST Off
The above entries in the .htaccess will disable the ModSecurity (mod_security) module for the domain.
-
02-05-2010 #2
Re: How to disable mod_security from .htaccess?
Hi,
Just add the following code in your .htaccess:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
-
07-27-2010 #3
Junior Member
- Join Date
- May 2010
- Posts
- 3
- Rep Power
- 0
Re: How to disable mod_security from .htaccess?
It is quite common that mod_security is interfering the functions of your web applications. mod_security is installed and enabled by your web server admin but you can still disable it for your individual website using .htaccess file by following this tutorial.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


LinkBack URL
About LinkBacks




Reply With Quote




