apache 添加虚拟机
1. apache配置文件httpd.conf,vhosts.conf2. 在vhosts.conf下添加虚拟机<VirtualHost *:80> DocumentRoot "D:\www\mxhy\backend\web" ServerName mxhy_b.com ServerAlias mxhy_b.com &
·
1. apache配置文件httpd.conf,vhosts.conf
2. 在vhosts.conf下添加虚拟机
<VirtualHost *:80>DocumentRoot "D:\www\mxhy\backend\web"
ServerName mxhy_b.com
ServerAlias mxhy_b.com
<Directory "D:\www\mxhy\backend\web">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
3. httpd.conf中包含vhosts.conf
更多推荐
已为社区贡献8条内容
所有评论(0)