Apache Server configuration support - Re: everything bringing up first virtual host?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > October 2007 > Re: everything bringing up first virtual host?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: everything bringing up first virtual host?
Mike

2007-10-15, 1:28 pm


>
> Do you have a line like
> NameVirtualHost *:80
> before those <VirtualHost *:80>... </VirtualHost> blocks?


Yes but...... it would appear the NameVirtualHost has to match exactly to
that in the <VirtualHost>
i.e. I had:

NameVirtualHost *
<VirtualHost *:80>...

I guess i have to use

NameVirtualHost *:80
<VirtualHost *:80>
or
NameVirtualHost *
<VirtualHost *>

Thank you for your help. I incorrectly assumed the above was the same
thing. I really apprecaite you taking the time to reply I wouldnt have
spotted the error without your post.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com