我试图找出为什么index.html是从AWS的EC2实例的外部看不见的。 已经validation服务器正在运行(netstat -lp),并且curl得到了一个404错误( 所有的细节都在这里 )
现在的日志,访问只是显示404错误,罚款
在/ var /日志/的httpd / elasticbeanstalk,访问日志:
[06/Oct/2011:10:30:43 +0000] "GET / HTTP/1.1" 404 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko)
错误是一个完整的神秘:/ var / log / httpd / error_log:
[Thu Oct 06 03:36:08 2011] [notice] caught SIGTERM, shutting down [Thu Oct 06 10:30:32 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Oct 06 10:30:32 2011] [notice] Digest: generating secret for digest authentication ... [Thu Oct 06 10:30:32 2011] [notice] Digest: done [Thu Oct 06 10:30:32 2011] [notice] Apache/2.2.16 (Unix) DAV/2 configured -- resuming normal operations
PS:我没有看到在httpd.conf中configuration的任何虚拟主机,文件底部的整个部分被注释掉:-(
您的服务器发生404 Not Found错误。 检查您的DocumentRoot是否已configuration,并且存在包含索引文件的目录。