Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This error means that for example, you are asking the server for books (And you only understand Spanish). The server only has English and German Books.<br> Therefore the server has your answer <strong>but</strong> it will not give it to you, because he knows you won't do anything useful or you will do something bad with it!! (like not reading the books and throwing them to people's heads, for example). </p> <p>406 Not Acceptable" is an unusual status code - the most common are 200, 404, 500, 301. You only see a 406 when something is wrong with the server, usually something silly but hard to diagnose.</p> <p><strong>Also:</strong> </p> <blockquote> <p>This general error means the request you made was detected as a potential hack attempt to the server [...]<br> <a href="https://billing.stablehost.com/knowledgebase/178/What-does-406-Not-Acceptable-mean.html" rel="nofollow">https://billing.stablehost.com/knowledgebase/178/What-does-406-Not-Acceptable-mean.html</a></p> </blockquote> <hr> <p>The most common solution for this error is related with mod_security. </p> <h2><a href="http://www.modsecurity.org/" rel="nofollow">1. Mod_security</a></h2> <blockquote> <p>ModSecurity can monitor the HTTP traffic in real time in order to detect attacks [...] it operates as a web intrusion detection tool. ModSecurity can also act immediately to prevent attacks from reaching your web applications.</p> </blockquote> <p>This 406 error might be from mod_security as a response from a possible attack via POST, passing some url's instead of plain and normal text. </p> <p>The most common solution is to disable the POST scan and mod_security filtering in htaccess:</p> <pre><code>&lt;IfModule mod_security.c&gt; SecFilterEngine Off SecFilterScanPOST Off &lt;/IfModule&gt; </code></pre> <p>Also, in the terminal, execute:</p> <pre><code>sudo a2dismod security2_module sudo service apache2 restart </code></pre> <p>To deactivate ModSecurity. </p> <p>If that does not work, then edit the file </p> <p><code>/etc/apache2/mod-security/modsecurity_crs_10_config.conf</code></p> <p>And add a <code>#</code> at the beggining of the line that has something like this:</p> <p><code>SecDefaultAction “phase:2,log,deny,status:403,t:lowercase,t:replaceNulls,t:compressWhitespace”</code></p> <p>Finally, restart apache</p> <p><code>sudo service apache2 restart</code></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload