出现403 Forbidden错误,找不到问题出在哪
已经自己找到问题了,原来我把default文件夹改名了,改回就正常----------以下历史-------------------
1.3 的 lamp版本,安装wordpress,lnmp add vhost后一切正常,访问域名出现以下错误
Forbidden
You don't have permission to access / on this server.
Apache Server at www.***.cn Port 80
重启lnmp restart
Stoping LAMP...
stop apache... Syntax error on line 161 of /usr/local/apache/conf/httpd.conf:
DocumentRoot must be a directory
failed
Shutting down MySQL. SUCCESS!
Starting LAMP...
start apache... Syntax error on line 161 of /usr/local/apache/conf/httpd.conf:
DocumentRoot must be a directory
failed
Starting MySQL.. SUCCESS!
[ 本帖最后由 lfeven 于 2017-4-29 19:50 编辑 ]
页:
[1]