码迷,mamicode.com
首页 > 其他好文 > 详细

打开虚拟主机

时间:2015-04-25 17:55:22      阅读:109      评论:0      收藏:0      [点我收藏+]

标签:

D:\xampp\apache\conf\httpd.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

D:\xampp\apache\conf\extra\httpd-vhosts.conf

##<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host.example.com
##DocumentRoot "D:/xampp/htdocs/dummy-host.example.com"
##ServerName dummy-host.example.com
##ServerAlias www.dummy-host.example.com
##ErrorLog "logs/dummy-host.example.com-error.log"
##CustomLog "logs/dummy-host.example.com-access.log" common
##</VirtualHost>

##<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host2.example.com
##DocumentRoot "D:/xampp/htdocs/dummy-host2.example.com"
##ServerName dummy-host2.example.com
##ErrorLog "logs/dummy-host2.example.com-error.log"
##CustomLog "logs/dummy-host2.example.com-access.log" common
##</VirtualHost>

打开虚拟主机

标签:

原文地址:http://www.cnblogs.com/alex-13/p/4456174.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!