UtilityGeek Forums

Full Version: ModSecurity & WordPress
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm in the process of setting up a WordPress blog. The key phrase here is "in the process." My web host is using ModSecurity on Apache and apparently it can cause issues with WordPress. On the backend of WordPress certain tasks result in "Internal Server Error" messages.

I've installed WordPress v2.3.2 twice. I've also installed it from the Fantastico module twice. I've also installed v2.0.11 of WordPress to test it. The issue has raised its ugly head each time.

What I'm looking for is a way through .htaccess to disable ModSecurity in the blog folder(s). I've tried the code below:

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

and

Code:
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>

I've tried putting both (at different times) into the .htaccess file where the blog resides but the problem still persists. I'd read I think on WordPress's support forum that the above code should disable ModSecurity.

I'd really like to get this resolved as quickly as possible. If anyone has any pointers or perhaps a known solution my ears are wide open!

Reference URL's