wampinapacheApache2.4.4confextrahttpd-vhosts.conf 修改如下
DocumentRoot"E:/website/pxsj"
ServerName host7.com
OptionsIndexes FollowSymLinks
AllowOverride None
Orderallow,deny
Allow fromall
DocumentRoot"E:/website/whsj"
ServerName host10.com:8080
OptionsIndexes FollowSymLinks
AllowOverride None
Orderallow,deny
Allow fromall
NameVirtualHost *:80
ServerAlias 192.168.1.116
NameVirtualHost *:8080
ServerAlias 192.168.1.116:8080
wampinapacheApache2.4.4confhttpd.conf 修改如下:
Listen 80
Listen 8080
C:WindowsSystem32driversetchosts 修改配置
版权声明:本文为博主原创文章,未经博主允许不得转载。