Apache Virtual Server
From: nosy (narrischesschwammerl_at_yahoo.de)
Date: 10/28/03
- Next message: dennis tuchler: "Re: 9.0 and Gnome"
- Previous message: Ron Eggler: "Re: Routen"
- Next in thread: Robert Hull: "Re: Apache Virtual Server"
- Reply: Robert Hull: "Re: Apache Virtual Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Oct 2003 14:48:45 GMT
Hi,
I tried to setup two virtual servers in our LAN (name based). I'm
running Apache 1.3
Everything seemed very easy but the configuration won't find the
second domain.
I simply added two direcives in httpd.conf like:
NameVirtualHost *
<VirtualHost *>
ServerName ...Domain1....
DocumentRoot ...
ServerAdmin ...
ErrorLog ...
CustomLog ...
</VirtualHost>
<VirtualHost *>
ServerName ...Domain2....
DocumentRoot ...
ServerAdmin ...
ErrorLog ...
CustomLog ...
</VirtualHost>
as I was told that the original domain also has to be setup as a
virtual host, as well as the 2nd.
Thats all I did, then I started httpd -S and it showed the virtual
host entries. Then I did restart apche in init.d. It went up
immediately and worked as before BUT the 2nd domain is NOT
recognised. It seems I have forgotten something else. Any idea what
has to be doen on top of adding those directives?
Thank you
- Next message: dennis tuchler: "Re: 9.0 and Gnome"
- Previous message: Ron Eggler: "Re: Routen"
- Next in thread: Robert Hull: "Re: Apache Virtual Server"
- Reply: Robert Hull: "Re: Apache Virtual Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|