Quote:
Originally Posted by tnedator
I installed mod_security and a set of rules. In doing so, the Post thanks system stopped working. Users were getting this error:
What is strange to me is that I have the following in my .htaccess in my /forums directory
Code:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Any idea how I can run mod_security and still have post thanks working?
Thanks
|
By the way, I am completely illiterate when it comes to mod_security, but this is the specific rule that post_thanks is firing.
Code:
SecRule REQUEST_METHOD "!^(?:get|head|propfind|options)$" \
"chain, t:lowercase, deny,log,auditlog,status:501,msg:'Request content encoding is not allowed by policy',id:'960010',severity:'4'"
SecRule REQUEST_HEADERS:Content-Type "!(?:^(?:application/x-www-form-urlencoded$|multipart/form-data;)|text/xml)"