ModSecurity: Access denied with code 406 (phase 2). Pattern match issue

by sham 2014-05-31 16:05:20

This error is getting due to the mod_security enabled in the server, we can try to fix this issue by diasbling the mod_security for the particular domain  virtual host in httpd.conf file

* vim /etc/httpd/conf/httpd.conf
* under particular domain virtual host add below lines

<IfModule mod_security2.c>
SecRuleEngine Off
</IfModule>


* then save file
* Restart your Apache HTTP Server
Note : Dont forget to restart Apache HTTP Server
1061
like
0
dislike
0
mail
flag

You must LOGIN to add comments