csjoz11

导航

apache多站点

<VirtualHost *:80>
DocumentRoot "D:\admin\ych_admin\webroot"
ServerName ci
ServerAlias admin.y.com
<Directory "D:\admin\ych_admin\webroot">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>

_____________________________apache局域网访问
<Directory />
AllowOverride none
# Require all denied
</Directory>
<Directory "d:/wamp/www/">
# onlineoffline tag - don't remove
Order allow,deny
Allow from all
# Require local
</Directory>

posted on 2017-07-27 11:29  csjoz11  阅读(98)  评论(0编辑  收藏  举报