HomeWeb HostingReseller Web HostingDedicated ServerResources & Support

Go Back   Web Hosting Technical Support Discussion Forum > General Web Hosting Discussion Forum and Support > Linux Web Hosting Discussion Forum and Support

Linux Web Hosting Discussion Forum and Support Discussion forum on Linux Web Hosting issues related to cpanel, whm, ensim, plesk, emails, ftp, frontpage, php, perl, cgi or permission. Accu Web Hosting
Become a Fan


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 03-26-2009
Member
 
Join Date: Jun 2008
Age: 21
Posts: 97
Blog Entries: 29
Rep Power: 21
ryan is on a distinguished road
Default 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.
__________________
Best regards,

Ryan S.

Best Wordpress Themes
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-05-2010
Junior Member
 
Join Date: Jan 2010
Location: USA
Posts: 15
Rep Power: 0
d2hsean is on a distinguished road
Send a message via AIM to d2hsean Send a message via MSN to d2hsean Send a message via Yahoo to d2hsean
Default 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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
http://www.accuwebhosting.com/terms.htm


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42