Constant Contact E-Newsletter Service - get 60 days free!

Constant Contact has been in business since 1996 is one of the most reliable and trusted email marketing services around. Click here to activate your free 60 day trial courtesy of CWD Community.

Reliable Hosting With the Best Customer Support

Looking for a dedicated hosting solution with 24/7/365 U.S.-based, English speaking phone support? Visit Rackspace for a reliable, managed hosting solution that will let you focus on the bottom line - your business, while they make sure your website stays online.



Mar 15 2007

406 Error (Not Acceptable) An appropriate representation of the requested resource could not be found on this server


Filed under: Operating Systems » Linux,
Tools:

406 Error (Not Acceptable)

Are you seeing this error when trying to access a page? This is due to Apache mod_security that is turned on by default. While you can use the following to diagnose the problem (turning the filter off should resolve the issue):


SecFilterEngine off

It's important to leave the filter on as it helps prevent spam and injection attacks. What you need to do is figure out (ask your hosting provider if you need help) the phrases that are triggering the filter. Typically these will include phrases that include possible commands such as "ftp," "telnet," "ssh," etc. Once you know which ones are, you can modify the filter to permit the page that is not loading (scan your logs or Google sitemap for 406 errors to find all the pages experiencing this problem):


SecFilterEngine On
SecFilterSelective "POST_PAYLOAD" "allow these words" "allow,nolog"

Average: 4.3 (12 votes)
Select your preferred way to display the comments and click "Save settings" to activate your changes.

Can you tell more about SecFilterEngine On..

i wanna use this "SecFilterEngine on" but still cannot loading the pages correctly.. is there any code to solve this problems? I mean use "SecFilterEngine On" but can load any webpages correctly?

406 Error Fix

If your Host Server is throwing back this error then a simple page refresh - using the html code below on your 406 error page will correct the issue:

<HEAD>
<META HTTP-EQUIV=REFRESH CONTENT=1>
</HEAD>

A good logo...

But a good logo doesn't have to cost a fortune, and you don't even need to hire a professional design team.

Please help me......

hello. last day it was ok... but from today it shows this 406 error. please help me how to solve this problem.

thanks
mehedi

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.

More information about formatting options

CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.