localhost redirecting to vhost
Posted by: hyperthalamus (---.cpe.net.cable.rogers.com)
Date: March 30, 2010 03:34PM

My localhost reference is pointing towards the first location I have specified in my httpd-vhosts.conf file. Does anyone have any idea why this might be happening? I would post configuration files, but I'd like to narrow it down a bit rather than pasting the whole thing.

Any ideas where this could be coming from?

Thanks in advance!

Options: ReplyQuote
Re: localhost redirecting to vhost
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: March 30, 2010 06:56PM

Make sure you have defined localhost as a virutalhost too, eg place the following in extra/httpd-vhosts.conf
<VirtualHost localhost:80>
   ServerName localhost
   DocumentRoot "C:/wamp/www"
</VirtualHost>

Options: ReplyQuote
Re: localhost redirecting to vhost
Posted by: yfastud (Moderator)
Date: March 31, 2010 03:55AM


Options: ReplyQuote
Re: localhost redirecting to vhost
Posted by: hyperthalamus (---.cpe.net.cable.rogers.com)
Date: March 31, 2010 04:11AM

thanks guys! That worked...

Options: ReplyQuote


Sorry, only registered users may post in this forum.