Wampserver之 virtualHost
鼓捣了 一天
显示 各种 百度,
1。 httpd-conf: 中 最后 #Include conf/extra/httpd-vhosts.conf
# 去掉
2.
httpd-vhosts.conf : 照样 复制,改 servername 如 test.test.com
DocumentRoot "d:/wamp/www/myj"
<Directory "d:/wamp/www/myj/">
经过测试 再来一个 也行。
3.
C:\Windows\System32\drivers\etc 下 hosts文件
127.0.0.1 localhost
127.0.0.1 tst.wj.cn
127.0.0.1 tst.tr.cn
posted on 2017-09-14 15:57 Heart&ware 阅读(844) 评论(0) 编辑 收藏 举报