windows 虚拟主机配置

2018-07-17  本文已影响0人  sinalma
#configure virtual  @sinalma 2018.01.19
NameVirtualHost *:80
Include conf/vhosts.conf
<VirtualHost *:80>
ServerName sinalma.cn
DocumentRoot "J:/sinblog"
<Directory J:/sinalma.cn>
Options Indexes
Order deny,allow
Deny from all
Allow from all
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerName www.sinalma.cn
DocumentRoot "J:/sinblog"
<Directory J:/sinalma.cn>
Options Indexes
Order deny,allow
Deny from all
Allow from all
AllowOverride All
</Directory>
</VirtualHost>
上一篇下一篇

猜你喜欢

热点阅读