apache下这样配置无法访问网页
来源:2-2 项目运行环境的搭建

慕粉1461515662
2017-11-14
<VirtualHost *:80>
#绑定主域名
ServerName http://www.s.com
#绑定第二域名
DocumentRoot "D:\phpwamp_8.8.8.8\wwwroot\shop\basic\web"
<Directory "D:\phpwamp_8.8.8.8\wwwroot\shop\basic\web">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
host已配置域名,输入www.s.com/robots.txt 可打开txt文件,www.s.com 则显示网页无法打开
写回答
1回答
-
Jason
2017-11-16
看错误日志了吗?把错误日志粘出来我看看
022017-11-21
相似问题