I just configured my site with cloudflare and it is returning a 406 error.

Avatar
  • Answered
I just configured my blog, devin.ronge.name, for cloudflare and it is returning a 406 error. The error message indicates this is being blocked by mod_security. Can this be corrected or should I disable cloudflare? see message below: Connection #0 to host 173.205.124.151 left intact Error 406 - Not Acceptable

Error 406 - Not Acceptable

An error has occurred. Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.

* Closing connection #0 alias:~ dronge$ curl -v -H 'Host: devin.ronge.name' 173.205.124.151 * About to connect() to 173.205.124.151 port 80 (#0) * Trying 173.205.124.151... * connected * Connected to 173.205.124.151 (173.205.124.151) port 80 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5 > Accept: */* > Host: devin.ronge.name > < HTTP/1.1 406 Not Acceptable < Date: Sat, 23 Mar 2013 13:22:06 GMT < Server: Apache < Vary: Accept-Encoding < Content-Length: 323 < Content-Type: text/html; charset=iso-8859-1 < * Connection #0 to host 173.205.124.151 left intact Error 406 - Not Acceptable

Error 406 - Not Acceptable

An error has occurred. Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.

* Closing connection #0
Avatar
johnpaulb-imhs1
Hello iwalkbarefoot, Thank you for your question. I tested your subdomain, and it is pointed to cloudflare's IP addresses, and loading for me without 406 errors. From what I read online, this may be caused by cloudflare being blacklisted due to their policy on abuse. Just like anywhere online, some people use their service to do things that it wasn't designed for. Please feel free to contact us at any time if your issues persist. If you have any further questions, feel free to post them below. Thank you, -John-Paul