wampsever/apache端口访问设置

共两步:

1,

E:\wamp\bin\apache\apache2.4.18\conf\httpd.conf 添加要监听的端口:

Listen 0.0.0.0:81

E:\wamp\bin\apache\apache2.4.18\conf\extra

2,

E:\wamp\bin\apache\apache2.4.18\conf\extra\httpd-vhosts.conf 

#VirtualHost *:81#

DocumentRoot "E:/wamp/www/zhibo3"

ServerName dummy-host.example.com

#/VirtualHost#

你可能感兴趣的:(wampsever/apache端口访问设置)