您的位置:首页 > 运维架构 > Apache

apache -- xampp配置虚拟主机

2015-05-06 21:39 429 查看
<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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: