[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Virtual Servers on Apache



Try it this way:

> NameVirtualHost 208.12.13.138:80
NameVirtualHost *
 
> <VirtualHost _default_:80>
> DocumentRoot /var/www/NPC/
> ServerName www.npc-usa.com
> </VirtualHost>
> 
> <VirtualHost _default_:80>

<VirtualHost *>

For everything that isn't the default.

> But regardless of which site I go to I end up in the directory for 
> www.npc-usa.com

You have too many _default_s :)
 
-- 
Tom Goulet				mail: uid0@em.ca
UID0 Unix Consulting			web:  em.ca/uid0/



Reply to: