First I would try restarting Apache.

Paul

On 24/10/2008, at 4:57 PM, 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:314364
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to