配置:
1.注册端口,默认为80,可增加或修改,因此次需部署两个网站,因此至少增加一个端口;
2.将端口和发布路径绑定,新增加一个VirtualHost,
<VirtualHost *:83>
ServerName localhost
Documentroot "D:/publish/web3/subject/n1/n3"
</virtualHost>
*:83即为新增加端口;
3.为发布目录授权,
<Directory "D:/publish/web3/subject/n1/n3">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>