Apache服务器报错信息,端口号等原因
·
error.message 1
原因:windows端口转发,将本地8080端口监听到虚拟机的80端口
报错信息:
Apache
[Mon Sep 09 15:31:13.700225 2019] [autoindex:error] [pid 23551] [client 192.168.150.1:54301] AH01276: Cannot serve directory /var/www/html/newcentersnappy/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
解决:将8080端口替换为本地没有被使用的其他端口就好了,具体8080端口为啥不能在局域网内访问,不清楚,可能是端口保护把。
error.message 2
原因:windows端口转发,将本地8080端口监听到虚拟机的80端口
报错信息:
html页面
Error establishing a database connection
解决:将8080端口替换为本地没有被使用的其他端口就好了。
更多推荐



所有评论(0)