apache中的vhosts的配置。

  

<VirtualHost *:80>
ServerAdmin wangjiemengya@foxmail.com
DocumentRoot "E:\wordDocument\www"
ServerName loca.cn
ServerAlias editor.fuyg.cn
ErrorLog "logs/dummy-host.localhost-error.log"
CustomLog "logs/dummy-host.localhost-access.log" combined
<Directory "E:\wordDocument\www">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

posted @ 2017-03-11 11:35  Func~  阅读(557)  评论(0编辑  收藏  举报