406这种简单的形式无法接受

时间:2014-11-06 04:16:42

标签: html

我有这个简单的表格

<form action="test.php" method="post"  >
<textarea name="howtouse" rows="10" cols="30">
    <p></p>
</textarea>
<input type="submit" value="Submit">  
</form>

当我提交表格时显示

Not Acceptable

An appropriate representation of the requested resource /testing/test.php
could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.

实时代码位于http://goo.gl/SaFf5D

1 个答案:

答案 0 :(得分:0)

http://w2cschool.com/How/How-To-Manage-Not-Acceptable-406-error-On-Godday-Server-/1170解决了这个问题。

正如Brad所提到的,这与客户端代码无关。

问题是godaddy阻止某种格式的名称

简而言之,问题可以通过改变

来解决
<textarea name="howtouse" rows="10" cols="30">

<textarea name="body1" rows="10" cols="30">