Friday, 16 September 2011

How to disable mod_security for a domain using .htaccess

To disable mod_security using .htaccess, go to the public_html directory of the desired domain. 

Then edit the .htaccess using your favorite editor. 

#vi .htaccess

And add following lines

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Save the file.
DONE!!!!

No comments:

Post a Comment