Posted by:
rip_pit
(---.w90-5.abo.wanadoo.fr)
I had the same problem here but i resolved it.
What i discovered after reading the guide is that you must keep in it the original lines for simple localhost.
So that at the end of your httpd-vhost.conf you must have:
<VirtualHost *:80>
ServerName localhost
DocumentRoot D:/weblocal/www
ErrorLog D:/wamp/logs/error.log
CustomLog D:/wamp/logs/access.log common
</VirtualHost>
for illustrate, my vhosts is like that and is working fine now:
NameVirtualHost *:80
#a 1st virtual host
<VirtualHost *:80>
ServerName www.zfblog.com
ServerAlias zfblog.com zfblog
DocumentRoot D:/weblocal/www/zf-tutorial-blog
ErrorLog D:/wamp/logs/zfblog_error.log
CustomLog D:/wamp/logs/zfblog_access.log common
</VirtualHost>
#a 2nd virtual host
<VirtualHost *:80>
ServerName www.zftut.com
ServerAlias zftut.com zftut
DocumentRoot D:/weblocal/www/zf-tutorial/public
ErrorLog D:/wamp/logs/zf-tutorial_error.log
CustomLog D:/wamp/logs/zf-tutorial_access.log common
<Directory D:/weblocal/www/zf-tutorial/public>
AllowOverride All
</Directory>
</VirtualHost>
#
#DON'T FORGET FOLLOWING LINES:
#the original localhost infos
<VirtualHost *:80>
ServerName localhost
DocumentRoot D:/weblocal/www
ErrorLog D:/wamp/logs/error.log
CustomLog D:/wamp/logs/access.log common
</VirtualHost>
---------------------------------------------
XP SP3 - pIV - 3.2Ghz - 1.5Go de ram - Wamp 2.0