On Wed, 26 Jun 2002, Peter Jay Salzman wrote:

> suppose i have two domains:
> 
> www.freshandsassy.org
> www.oldandtired.com
> 
> 
> suppose:
> 
> 1.  i'd like requests to http://freshandsassy.org to get:
>     /www1/index.html
> 
> 2. i'd like requests to http://oldandtired.com to get:
>    /www2/index.html
> 
> 
> how would i do this with apache?

httpd.conf:

  ...
  NameVirtualHost your.public.ip.address

  <VirtualHost your.public.ip.address>
  ServerName freshandsassy.org
  DocumentRoot /www1/
  ...
  </VirtualHost>

  <VirtualHost your.public.ip.address>
  ServerName oldandtired.com
  DocumentRoot /www2/
  ...
  </VirtualHost>

> is this what people call "virtual hosting"?

two possible answers, any three guesses... ;)

---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<[EMAIL PROTECTED]>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...2k
---------------------------------------------------------------------------


_______________________________________________
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to