我刚刚安装了WAMP 3,它附带了一个vhost安装向导,该向导应该可以使用,但是我的vhost都会重定向到localhost / wamp主页。有什么建议吗?
我的vhosts定义如下
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>s
<VirtualHost *:80>
ServerName wdc
DocumentRoot "f:/mystuff/company/profordable/projects/company/projects/other/shop/02/www"
<Directory "f:/mystuff/company/profordable/projects/company/projects/other/shop/02/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
在http config中取消注释了相应的行。
多数民众赞成,任何帮助都是受欢迎的。