MediaWiki error: 406 Not Acceptable
From FVue
Problem
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 www.fvue.nl Port 80
Solution
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 -l |
wget | <tt>wget</tt> |
.htaccess | <tt>.</tt><tt>htaccess</tt> |
rm file | rm file |
#!/bin/sh | #!/bin/sh |
/usr/bin/mailx | /usr/bin/mailx |
1 NC - | 1 NC - |
/var/spool | /var/spool |
/etc/passwd | /etc/passwd |
See also
HTTP/1.1: Status Code Definitions
Journal
20060721
http://www.scramble.nl/wiki/index.php?title=Help:Not_Acceptable_Error
Advertisement