Virtual Hosts

Derek Broughton news at pointerstop.ca
Fri Jun 9 16:58:15 UTC 2006


Dick Davies wrote:

> On 09/06/06, Derek Broughton <news at pointerstop.ca> wrote:
> 
>> > NameVirtualHost 192.168.10.1:80
>> > NameVirtualHost 192.168.10.1
> 
>> Well, there's your overlap.
>>
>>         NameVirtualHost *
>>
>> will do the job.
> 
>> >
>> > <VirtualHost *:80>
>> ...
>> > <VirtualHost *:80>
> 
>> What are you trying to do?  They can't BOTH be on port 80.
> 
> They can now you've set up the NameVirtualHost * directive.
> 

Oops.  Of course they can - what was I thinking.  They can, because they
have different ServerName values.

Thanks for the catch, Dick.
-- 
derek





More information about the ubuntu-users mailing list