Archive for the ‘drupal’ tag

mod_security and Drupal 6.2 issues.

If you’re going to be using Drupal with mod_security, making the following changes will probably save you some frustration later :).

<LocationMatch “/”>
SecRuleRemoveById 960010
SecRuleRemoveById 960015
SecRuleRemoveById 960032
SecRuleRemoveById 950107
</LocationMatch>

Also, set SecResponseBodyLimit and SecRequestBodyInMemoryLimit to something like 51200000 and 12288000 respectively. They may seem a bit high, but if you’re managing a lot of Drupal users and permissions I’ve run into problems with them.

Happy Drupal-ing.

Posted: October 2nd, 2008
at 4:25am by Derek

Tagged with , , ,


Categories: Linux, Tech

Comments: 1 comment