mod-security

Mod_security is sometimes blocking my ajax script - how can I find out why?

谁说我不能喝 提交于 2019-12-01 10:47:46
问题 I've built some kind of CMS application using php and mysql. Everything has worked perfectly on localhost, so I've moved it to the web. Now I'm experiencing strange problems when someone is adding new article. Sometimes it just gets added normally, and sometimes the user get's this error: Not Acceptable An appropriate representation of the requested resource /path_to/file.php could not be found on this server. After some time on Google, I've found out that mod_security is blocking my script

Facebook links to my site resolve as 403 forbidden

扶醉桌前 提交于 2019-12-01 03:58:33
问题 Hi I'm experiencing a super weird problem. Whenever I post links to my website on Facebook, they come up as Forbidden. The site itself works great and I have no seen this when linking on other sites. Could this be a server misconfiguration? Any thoughts on where to look? here's some Info: I have a dedicated server running WHM 11.25.0 i have 2 sites hosted here using cPanel 11.25.0 the error msg: Forbidden You don't have permission to access /blog/deepwater-horizon-11/ on this server.

Extra sensitive Mod Security rules giving 403 forbidden error

陌路散爱 提交于 2019-11-28 06:24:55
问题 I have just anebled Mod Security on our Centos5 server and we are now getting the following in the error_log: [Thu Nov 12 16:20:19 2015] [error] [client 88.15.76.8] ModSecurity: Access denied with code 403 (phase 2). Pattern match "([\\\\~\\\\!\\\\@\\\\#\\\\$\\\\%\\\\^\\\\&\\\\*\\\\(\\\\)\\\\-\\\\+\\\\=\\\\{\\\\}\\\\[\\\\]\\\\|\\\\:\\\\;\\"\\\\'\\\\\\xc2\\xb4\\\\\\xe2\\x80\\x99\\\\\\xe2\\x80\\x98\\\\`\\\\<\\\\>].*){8,}" at REQUEST_COOKIES:_eventqueue. [file "/etc/httpd/modsecurity.d/activated