Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: disable mod_security for a domain  (Read 6147 times)
« on: December 28, 2008, 03:30:27 AM »
Alex Offline
Newbie

View Profile
*

iTrader: 0
Posts: 32



Hi,

I have recently installed mod_security on the cPanel server but I want to disable it for one of the domain hosted on that server. Is it possible to disable it for a domain or I have to disable it for all the domains ?

Thanks,

=:Alex:=

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
Logged
« Reply #1 on: December 29, 2008, 09:25:57 PM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 286



Yes, you can disable it for a domain from .htaccess. Just add the following code in .htaccess of the domain:

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

This will work only if you have old version of mod_security installed on the server. You cannot disable mod_security2 using .htaccess. For more details to bypass mod_security2, kindly refer http://blog.webhostingdiscussion.net/site-and-server-security/wordpress-and-mod_security2-issues.htm

However, for security majors it is not recommended to disable it.

Kailash
« Last Edit: March 11, 2010, 11:37:10 PM by Kailash » Logged

Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2012 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Google - Sitemap - XML Sitemap