首页 > 其他 > 详细

DocumentRoot \

时间:2017-01-23 19:15:13      阅读:233      评论:0      收藏:0      [点我收藏+]

w  有无\的区别。

 

https://httpd.apache.org/docs/2.4/vhosts/examples.html

 

hosts

1 127.0.0.1   w.w

 

 httpd.conf

ServerName  w.w

#
# Deny access to the entirety of your servers filesystem. You must
# explicitly permit access to web content directories in other 
# <Directory> blocks below.
#
DocumentRoot  "D:\WWW\new\tx\ci\cicode"
<Directory />
    Options +Indexes +FollowSymLinks +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    Require all granted
</Directory>

 

DocumentRoot \

原文:http://www.cnblogs.com/yuanjiangw/p/6344693.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!