您的位置:首页 > 运维架构 > Apache

apache配置文件

2016-04-27 19:16 344 查看
You don't have permission to access / on this server.
 

    AllowOverride none

    Require all denied

 



 

    Options Indexes FollowSymLinks  

    AllowOverride None  

 

The requested URL / was not found on this server.

在httpd-vhosts.conf中增加下面代码,直接用localhost就能访问。即把localhost也当成一个虚拟站点,其对应的目录即可访问。

 

    DocumentRoot "F:/Demo"

    ServerName localhost

 

并且改

 

这个里的all
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  centos