我刚刚在 AWS ECS 上设置了服务器。
除了 Apache 版本(从 2.2 到 2.4)和 PHP 版本(从 5.3 到 5.6)之外,所有配置都与我拥有的不同服务器相同。
我已经修改了我的 index.php 文件以只打印出 php_info(),但我不断收到:
错误的请求
您的浏览器发送了此服务器无法理解的请求。此外,在尝试使用 ErrorDocument 处理请求时遇到 400 Bad Request 错误。
Apache/2.4.25 (Amazon) 服务器在 xxx.yyy.com 端口 80
我查看了从我的访问中保存的所有日志,这是我从这个特定访问中得到的:
错误日志
[Tue Jan 24 16:20:46.154208 2017] [suexec:notice] [pid 32139] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jan 24 16:20:46.249527 2017] [auth_digest:notice] [pid 32146] AH01757: generating secret for digest authentication ...
[Tue Jan 24 16:20:46.250415 2017] [lbmethod_heartbeat:notice] [pid 32146] AH02282: No slotmem from mod_heartmonitor
[Tue Jan 24 …
Run Code Online (Sandbox Code Playgroud)