【笔记】wamp多站点配置

方法很多,不一一叙述。 1.打开httpd.conf   去掉“#Include conf/extra/httpd-vhosts.conf” 前的注释 2.确认配置: <Directory /> AllowOverride all Require all granted </Directory> 3.注释掉一些语句 #ServerAdmin admin@localhost #ServerName localhost:80 #DocumentRoot "c:/wamp/bye"  //以上三条注释掉 4.C:\wamp\apache2\conf\extra\httpd-vhosts.conf 追加以下内容。 <VirtualHost *:80> DocumentRoot 路径 ServerName 域名 <Directory "路径"> Options Indexes FollowSymLinks AllowOverride all Order allow,deny Allow from all </Directory> </VirtualHost>
posted @ 2013-10-14 11:38  test.cfs  阅读(109)  评论(0编辑  收藏  举报