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

Re: Virtual Servers on Apache



YES!

That worked.

Any ideas about how to tell Apache that the default file for a Host is a particular file (i.e., for www.npc-usa.com the default (home) file is NPC_Home.htm).

Curtis

Tom Goulet (UID0) wrote:
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 :)





Reply to: