当我访问服务器上的子文件夹时,我收到以下错误。
服务器遇到内部问题 错误或错误配置,是 无法完成您的请求。
请与服务器联系 管理员,webmaster @ badasura 并告知他们错误的时间 发生了,你可能有任何东西 完成可能导致错误。
有关此错误的详细信息可能有效 在服务器错误日志中可用。
此外,500内部服务器 遇到错误错误 试图使用ErrorDocument 处理请求。阿帕奇/ 2.2.17 (Unix)mod_ssl / 2.2.17 OpenSSL / 0.9.7a mod_auth_passthrough / 2.1 mod_bwlimited / 1.4 FrontPage / 5.0.2.2635 在bakasura.in端口的PHP / 5.2.16服务器 80
我在该文件夹中或根目录中没有.htaccess。知道如何解决这个问题吗?
错误日志
[date] [error] [client 117.192.124.74] File does not exist: /home/bakasura/public_html/404.shtml
[date] [error] [client 117.192.124.74] File does not exist: /home/bakasura/public_html/html
[date] [error] [client 117.192.124.74] File does not exist: /home/bakasura/public_html/404.shtml
[date] [error] [client 117.192.124.74] File does not exist: /home/bakasura/public_html/html
[date] [error] [client 117.192.124.74] File does not exist: /home/bakasura/public_html/404.shtml
[date] [error] [client 117.192.124.74] File does not exist: /home/bakasura/public_html/html
[日期] [错误] [client 122.167.73.182]文件没有 存在: /home/bakasura/public_html/404.shtml
[日期] [错误] [client 122.167.73.182]文件没有 存在: /home/bakasura/public_html/favicon.ico
[日期] [错误] [client 122.167.73.182]文件没有 存在: /home/bakasura/public_html/404.shtml
[日期] [错误] [client 122.167.73.182]文件没有 存在: /home/bakasura/public_html/favicon.ico
[日期] [错误] [客户端180.234.85.76]文件没有 存在: /home/bakasura/public_html/404.shtml
[日期] [错误] [客户端180.234.85.76]文件没有 存在: /home/bakasura/public_html/favicon.ico
[日期] [错误] [客户端180.234.85.76]文件没有 存在: /home/bakasura/public_html/404.shtml
[日期] [错误] [客户端180.234.85.76]文件没有 存在: /home/bakasura/public_html/favicon.ico
答案 0 :(得分:1)
服务器错误日志中可能提供了有关此错误的更多信息。
答案 1 :(得分:0)
我认为必须可以访问/home/bakasura/public_html/html
的完整路径。
也就是说,/home/bakasura
也应该具有chmod a + x(执行,而不是读取)权限,否则Apache甚至无法输入/home/bakasura/public_html
。
我会确保路径中的所有目录至少chmod a+x
,并且public_html
和public_html/html
都包含一个chmod a+r
的index.html。