MediaWiki error: 406 Not Acceptable

From FVue
Jump to: navigation, search


When saving a mediawiki page, I receive an error:

Not Acceptable
An appropriate representation of the requested resource /wiki/index.php could not be found on this server.

Apache/1.3.34 Server at Port 80


Contacted my ISP (Internet Service Provider). It appears the text wget followed by a space is being blocked by the webserver firewall.

Adding quotes "" or <code> tags around wget should fix it.

Same problem occurs with word .htaccess and rm -rf. Below is a list of alternatives I came up with in order to circumvent the 406 error.

word alternative
ls -l ls&nbsp;-l
wget <tt>wget</tt>
.htaccess <tt>.</tt><tt>htaccess</tt>
rm file rm&nbsp;file
#!/bin/sh #!/bin&#047;sh
/usr/bin/mailx /usr/bin&#047;mailx
1 NC - 1 N&#067; -
/var/spool /var&#047;spool
/etc/passwd /etc&#047;passwd

See also

HTTP/1.1: Status Code Definitions




blog comments powered by Disqus