Apache Web 服务器始终发送此响应:HTTP POST 时出现 500 内部服务器错误

发布于 2024-12-12 06:39:29 字数 644 浏览 9 评论 0 原文

我在现有服务器上收到此错误。没有配置变化。突然,事情发生了。日志没有显示任何内容,除了类似于以下内容的内容:

10.10.10.11 - - [28/Oct/2011:01:01:08 +0800] "POST /notexist HTTP/1.1" 500 50 "-" "PECL::HTTP/1.7.1 (PHP/5.3.8)"

到目前为止,我发现它仅在使用 HTTP POST 时发生,它似乎与任何 CGI 或 PHP 脚本无关。

我已经重新编译了Apache,但问题仍然存在。我编写了一个脚本,通过使用 GET 和 POST 来访问服务器中不存在的 URI。当请求 GET 时,apache 响应 404,但对于 POST,它的响应立即是 500 错误。

谁能让我知道我能做什么? 我使用的是 FreeBSD,Apache 是使用 event MPM 编译的。 预先感谢您的任何帮助。

附言。我发现它与 subversion 1.7.1 有关,当我重新安装 subversion 1.6.17 端口时,Apache 似乎又开始工作了。我很抱歉在这里发布这个问题,也许我应该向 FreeBSD subversion 端口管理员报告这个问题。这很奇怪,因为当我升级到 subversion 1.7.1 时,它不会发生,而当没有配置更改时,它会发生。

I am getting this error on an existing server. No configuration change. Suddenly, it happened. The log shows nothing, except something similar to the following:

10.10.10.11 - - [28/Oct/2011:01:01:08 +0800] "POST /notexist HTTP/1.1" 500 50 "-" "PECL::HTTP/1.7.1 (PHP/5.3.8)"

Until now I figured out that it is occurring only while using HTTP POST, it does not seem to be related to any CGI or PHP script.

I've recompiled Apache but the problem still exists. I wrote a script to visit a none exist URI of the server by using GET and POST. While requesting a GET, apache response 404, but for a POST, its response is a 500 error immediately.

Can anyone let me know what can I do?
I am using FreeBSD and the Apache is compiled by using event MPM.
Thanks in advance for any help.

PS. I've found it is related to subversion 1.7.1, While I reinstalled subversion 1.6.17 port, Apache seems to be working again. I am sorry to post this question here, maybe I should report this problem to FreeBSD subversion port administrator. It's weird because it doesn't happen when I upgrade to subversion 1.7.1, and it happened when there is no configuration change.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

月野兔 2024-12-19 06:39:29

请参阅http://svn.haxx.se/users/archive-2011- 10/0457.shtml。这是 Subversion 1.7.0 和 1.7.1 中已确认的错误。它已通过 r1187695 修复在 Subversion 主干中,建议将其包含在以下 1.7.x 版本中(请参阅 http://svn.apache.org/repos/asf/subversion/branches/1.7.x/STATUS)。

See http://svn.haxx.se/users/archive-2011-10/0457.shtml. It is a confirmed bug in Subversion 1.7.0 and 1.7.1. It's fixed in Subversion trunk with r1187695 which is proposed to be included in a following 1.7.x-release (see http://svn.apache.org/repos/asf/subversion/branches/1.7.x/STATUS).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文