配置虚拟主机502报错

问答中心分类: OneinStack配置虚拟主机502报错
匿名用户 asked 9 年 ago
 lnmpa环境,安装完成,配置虚拟主机报错,提示:
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
AH00526: Syntax error on line 216 of /usr/local/apache/conf/httpd.conf:
DocumentRoot must be a directory
http.conf的216行是:
DocumentRoot "/home/www/default"
输入域名,提示502。

2 Answers
oneinstack answered 9 年 ago
安装日志是否可以上传到百度云,链接地址发给我?

匿名用户 answered 9 年 ago
谢谢了。我重新安装了一遍,就成功了。