小问题一个,请大家进来看一看

william312 2003-10-16 02:38:37
我在apache服务器下,建了一个主页,主页上有一个提交,主要代码如下:
<form name="form1" method="post" action="main.html">
......
</form>
我的主页与main.html在同一文件下。

问题:我点击 “提交”按钮,却出现如下错误页面,请问是为什么?如何解决?(是我的apache配置问题,还是apache就响应不了 "post"方法)

Method Not Allowed
The requested method POST is not allowed for the URL /main.html.
--------------------------------------------------------------------------------
Apache/1.3.27 Server at liangw.chenfei.com Port 80
...全文
29 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
luyang1001 2003-10-18
  • 打赏
  • 举报
回复
建议看看动态交互的资料
:)
luyang1001 2003-10-18
  • 打赏
  • 举报
回复
main.html能接受post的数据吗?
你用什么开发语言?asp?php?jsp?......

24,923

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 Apache
社区管理员
  • Apache
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧