apache vhost configuration
Hi list,
i want to have 2 name-based vhosts on my local router for internal use. ie
$domain.local.lan .
apache 1.3.22-5 / SID
my httpd.conf ( in extracts ):
Listen 80
BindAddress *
Port 80
ServerName cobra.local.lan
DocumentRoot /var/www
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /serv/www/wsbt
ServerName wsbt.local.lan
ErrorLog /var/log/apache/vhost/wsbt-error.log
CustomLog /var/log/apache/vhost/wsbt-access.log common
</VirtualHost>
<VirtualHost *>
»·······ServerAdmin webmaster@localhost
»·······DocumentRoot /serv/www/peb
»·······ServerName peb.local.lan
»·······ErrorLog /var/log/apache/vhost/peb-error.log
»·······CustomLog /var/log/apache/vhost/peb-access.log common
</VirtualHost>
I don't know what is wrong with this. I can access the last VirtualHost,
sometimes the real one and not the first VirtualHost.
I get a "Redirection limit for this URL exceeded. Loading aborted."
And this is a line from my access.log of the first vhost i cannot reach:
192.168.1.10 - - [01/Jan/2002:17:52:16 +0100] "GET / HTTP/1.1" 302 5
Thanks for any help.
--
Veit Waltemath <veitw@wsbt.de> | reg. Linux User #140794
01896 Pulnitz / Germany | Debian Gnu/Linux Systems
GPG-Fingerprint: 9A4D 4B94 DF10 C0A7 2405 53E5 D72F BC54 2B47 A117
*Buy a Mac and Use GNU/Linux; Annoy Bill Gates Twice*
Reply to: