[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] apache2.0 and named virtual hosts?
- Subject: [ale] apache2.0 and named virtual hosts?
- From: Robert.L.Harris at rdlg.net (Robert L. Harris)
- Date: Tue, 15 Apr 2003 09:42:09 -0400
I'm trying to set up a name based virtual host on an apache 2.0 server
for some friends. When I create the link to their site in sites-enabled
all traffic to my site goes to that vhost instead. I have this:
{0}:/etc/apache2/sites-enabled>ls -l
total 8
lrwxrwxrwx 1 root root 36 Feb 18 10:15 default -> /etc/apache2/sites-available/default
lrwxrwxrwx 1 root root 45 Apr 15 09:27 semotorcycleguys -> /etc/apache2/sites-available/semotorcycleguys
{0}:/etc/apache2/sites-enabled>head default
<VirtualHost *>
ServerAdmin robert at rdlg.net
ServerName www.rdlg.net
ServerAlias rdlg.net
DocumentRoot /var/www/htdocs/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
{0}:/etc/apache2/sites-enabled>head semotorcycleguys
<VirtualHost semotorcycleguys.rdlg.net>
ServerAdmin robert at rdlg.net
ServerName semotorcycleguys.rdlg.net
DocumentRoot /var/www/semotorcycleguys.rdlg.net/htdocs
<Directory /var/www/semotorcycleguys.rdlg.net>
Options FollowSymLinks
AllowOverride None
</Directory>
(Those are "heads" to show the ServerName directive)
Any thoughts off the top of anyone's head?
Robert
:wq!
---------------------------------------------------------------------------
Robert L. Harris | PGP Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
Diagnosis: witzelsucht
IPv6 = robert at ipv6.rdlg.net http://ipv6.rdlg.net
IPv4 = robert at mail.rdlg.net http://www.rdlg.net
PGP signature