wamp apache 多端口虚拟主机的配置方法
多端口方法1、打开httpd.confg,找到Listen 80 在下方加上Listen 8080
2、打开\bin\apache\Apache2.4.4\conf\extra\httpd-vhosts.conf文件,添加一组标签
<VirtualHost *:8080>
DocumentRoot "C:\wamp\www\test"
ServerName localhsot
</VirtualHost>
保存重启服务器。
页:
[1]