[Modsecurity] Disable mod_security in .htaccess

Michael P Dahl dahl at unr.edu
Tue Apr 17 19:46:33 EDT 2007


I'm trying to disable mod_security 2.0 for a particular user in their
.htaccess:

 

I tried using:

  SecFilterEngine Off

  SecFilterScanPOST Off

 

But they do not work in 2.0.

 

Then I tried using:

  SecRuleEngine off

 

and got this error:

 

[Tue Apr 17 16:42:04 2007] [alert] [client 192.168.1.1]
/web/htdocs/license/.htaccess: SecRuleEngine not allowed here, referer:
http://www.site.com/license/index.html

 

Is it possible to do this?  If so, what am I doing wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gotroot.com/pipermail/modsecurity/attachments/20070417/3060a34f/attachment.html


More information about the Modsecurity mailing list