Sunday, June 21, 2009

Disable mod_security2 rule for one domain

Error:

Not Acceptable

An appropriate representation of the requested resource /admin/index.php could not be found on this server.

Fix:

Just create a directory:

mkdir -p /usr/local/apache/conf/userdata/std/2/username/domain.com

Then create a file:

/usr/local/apache/conf/userdata/std/2/username/domain.com/mod_security.conf

In that file add:


SecRuleEngine Off


Save it.

Then run:

/scripts/ensure_vhost_includes --user=username

0 comments:

Post a Comment

  © Blogger template PingooIgloo by Ourblogtemplates.com 2009

Back to TOP