wamp虚拟主机
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了wamp虚拟主机相关的知识,希望对你有一定的参考价值。
wamp服务器增加9090端口访问项目:
# Virtual Hosts # <VirtualHost *:80> ServerName localhost DocumentRoot D:/wamp/www <Directory "D:/wamp/www/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> listen 9090 <VirtualHost *:9090> ServerName localhost:9090 DocumentRoot D:/wamp/www/YPB2C/home <Directory "D:/wamp/www/YPB2C/home/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> #
windows增加别名解析至ip地址:
C:\Windows\System32\drivers\etc
127.0.0.1:9090 testyipart.com
以上是关于wamp虚拟主机的主要内容,如果未能解决你的问题,请参考以下文章