0

我正在尝试一个非常奇怪的问题:在 Arch Linux 服务器上使用 apache-2.2.25 我得到一个截断的 HTTP 标头作为响应,但仅在 Windows 机器下。

我没有动过 httpd.conf 文件,我创建了一个文件 /srv/http/index.html ,里面有Hello.

使用 Linux 机器上的网络浏览器,我可以正确显示 hello 页面,但在 Windows 下,我得到了

.1 200 OK Date: Fri, 15 Nov 2013 08:44:28 GMT Server: Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/1.0.1e DAV/2 Last-Modified: Fri, 15 Nov 2013 08:15:09 GMT ETag: "27c-a-4eb32cbf8b950" Accept-Ranges: bytes Content-Length: 10 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=utf-8 Hello

似乎 http 标头的第一个字符 ( HTTP/1) 被截断。

你有什么建议吗?

4

0 回答 0