多端口方法

  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>

保存重启服务器。

posted on 2013-10-14 17:32  土豆饼  阅读(307)  评论(0编辑  收藏  举报