[ale] apache vhost help ?

Jordi Slave lobo at slave.net
Wed Sep 15 14:08:08 EDT 1999


THE SOLUTION:

<VirtualHost www.rnd-consulting.com>
ServerAdmin nomad at rnd-consulting.com
DocumentRoot /home/httpd-rnd/html
ServerName www.rnd-consulting.com
ErrorLog logs/error_log.rnd
TransferLog logs/access_log.rnd
</VirtualHost>

<VirtualHost www.motorcyclerally.org>
ServerAdmin nomad at rnd-consulting.com
DocumentRoot /home/httpd-mr/html
ServerName www.motorcyclerally.org
ErrorLog logs/error_log.mr
TransferLog logs/access_log.mr
</VirtualHost>

See you.

-----Mensaje original-----
De: Nomad the Wanderer <nomad at orci.com>
Para: Atlanta Linux Enthusiasts <ale at ale.org>
Fecha: miércoles, 15 de septiembre de 1999 19:46
Asunto: [ale] apache vhost help ?



Ok,
  I have ip=207.174.68.94 and 2 domains, www.rnd-consulting.com and
www.motorcyclerally.org.

I have 2 home dirs:

/home/httpd-rnd
/home/httpd-mr

I have the following config in /etc/httpd/conf/httpd.conf:
----------------------------------------
NameVirtualHost 207.174.68.94

<VirtualHost 207.174.68.94>
ServerAdmin nomad at rnd-consulting.com
DocumentRoot /home/httpd-rnd/html
ServerName www.rnd-consulting.com
ErrorLog logs/error_log.rnd
TransferLog logs/access_log.rnd
</VirtualHost>

<VirtualHost 207.174.68.94>
ServerAdmin nomad at rnd-consulting.com
DocumentRoot /home/httpd-mr/html
ServerName www.motorcyclerally.org
ErrorLog logs/error_log.mr
TransferLog logs/access_log.mr
</VirtualHost>
----------------------------------------


When I hit http://www.rnd-consulting.com I get the left fram of rnd, but
the background and right frame is from motorcyclerally.  When I go to
motorcyclerally.org it looks correct.

Anyone know what I'm missing?  I've been poking around the apache survival
guide and apache.org, but it all looks correct...

Robert

---------------------------------------------------------------------------
Robert L. Harris                |   "A person is smart;
Senior System Administrator     |        People are dumb, panicky
  at Global Commerce Systems.    \_            dangerous animals"  - Agent K

http://www.orci.com/~nomad

DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'






More information about the Ale mailing list