It looks like you are binding your vhosts to 127.0.0.1.  Are you sure 
thats the IP you get when you are browsing to this dev site?  For 
example if you ping localhost on a vista box I think by default it 
resolves to an IPv6 address.  I don't think that will match the 
<virtualhost 127.0.0.1> entry.  Try using <virtualhost *> instead.  You 
should probably change NameVirtualHost to use * also.

-Ryan

Will Tomlinson wrote:
> I'm helping a friend setup his Vista machine to run Apache/CF8, like my XP 
> Pro machine. 
>
> The problem we're having is, whenever he hits one of his domains we setup in 
> his windows hosts file, it directs you to the default apache website. "It 
> works!"
>
> But we have <virtualhost> directives in the httpd.config file to direct to 
> C:\webRoot\somesite
>
> Here's the hosts file:
>
> 127.0.0.1       localhost
> 127.0.0.1       local.ApacheTestSite
> 127.0.0.1       local.ApacheTestSite2
>
> Here's the bottom of his config file:
>
> NameVirtualHost 127.0.0.1
>
> <VirtualHost 127.0.0.1>
>    DocumentRoot C:\webRoot\testSite2
>    ServerName local.ApacheTestSite2
> </VirtualHost>
>
>
> <VirtualHost 127.0.0.1>
>    DocumentRoot C:\webRoot\InfoSite
>    ServerName local.infotest
> </VirtualHost>
>
> What's strange is, this all works on my XP Pro machine. I can't figure out 
> why you hit one of those domains in the URL, and it will not take you to the 
> right website in the webroot. 
>
> Any ideas?
>
> Thanks!
>
> Will
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to