Disable mod_security on Dreamhost, for a single cgi script
Posted
by Hippyjim
on Server Fault
See other posts from Server Fault
or by Hippyjim
Published on 2010-04-26T19:06:37Z
Indexed on
2010/04/26
19:13 UTC
Read the original article
Hit count: 336
mod-security
|dreamhost
Hi
I've searched around a lot, and tried various tweaks to .htaccess files to try to turn off mod_security for a particular cgi script (uber uploader) but it doesn't seem to have any effect.
The most popular one I see rehashed all over the web is:
# Turn off mod_security filtering.
SecFilterEngine Off
# The below probably isn't needed,
# but better safe than sorry.
SecFilterScanPOST Off
Which looks relative simple to me - if "SecFilterEngine" is in some way related to mod_security of course. Shame it has absolutely no effect!
Does anyone have a suggested way I can simply disable it for a request to any file in my cgi-bin directory?
© Server Fault or respective owner