httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Blomstrom <david_blomst...@yahoo.com>
Subject Re: [users@httpd] Getting Started With Virtual Hosts
Date Thu, 15 Jan 2004 16:27:34 GMT
--- Yakov Lerner <yakov.lerner@kavado.com> wrote:

> I think you need NameVirtualHost directive.
> The nice tutorial on VirtualHosts is at:
> 
>
http://www.onlamp.com/pub/a/apache/2004/01/08/apacheckbk.html
> 
> Yakov

* * * * * * * * * *

Thanks for the tip. He lists this is an example:

<VirtualHost *:80>
  DocumentRoot /home/bob/www
  ServerName bob.veggie.com
</VirtualHost>

If I was going to apply that to a site on a computer,
like C:/sites/geobop, how would I write it - like
this?

<VirtualHost *:80>
  DocumentRoot C:/sites/geobop
  ServerName geobop
</VirtualHost>
 
And can I just choose anything for a server name? Or
would I just localhost as the servername for all the
websites on my computer?


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message