码迷,mamicode.com
首页 > Web开发 > 详细

apache -- xampp配置虚拟主机

时间:2015-05-06 22:27:23      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

<VirtualHost *:80>
ServerName www.myblog.com
DocumentRoot "F:/Code/myblog"
<Directory "F:/Code/myblog">
Options Indexes FollowSymLinks Includes ExecCGI
Allow from all
AllowOverride all
Require all granted
</Directory>
</VirtualHost>

或者

<VirtualHost *:80>
ServerName www.myblog.com
DocumentRoot "F:/Code/myblog"
</VirtualHost>
<Directory "F:/Code/myblog"> 
Options Indexes FollowSymLinks Includes ExecCGI
Allow from all
AllowOverride all
Require all granted
</Directory>

apache -- xampp配置虚拟主机

标签:

原文地址:http://www.cnblogs.com/hf8051/p/4483298.html

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