Not really like that. Don't forget there are hosts out there which have
only one ip-address, so they must use name-based virtual hosting. For this
they must configure their only ip-address as NameVirtualHost. After this
the documentroot in srm.conf is ignored. All ip-names which the
server have,
normally, you would have main web
server and then virtual web servers. Here is what it looks like in the
httpd.conf
#setup main web server
DocumentRoot /www/mainweb
ServerName www.mainweb.com
#then set up virtual web server (e.g. IP
based)
DocumentRoot /www/virtualweb1
Servername www.vi
On Tue, Aug 10, 1999 at 12:36:17PM -0700, Robert Jones wrote:
>
> What version of Apache were you using on Red Hat? Since 1.3, you need to
> explicitly define IP addresses you want to have named-based virtual hosts on
> with the 'NameVirtualHost' directive -- if you were on 1.2, and upgraded to
>
Quoth Bill West on 10 Aug, 1999:
> Strange problem here. I just moved on of my machines at work to debian from
> redhat. The apache server on that machine was doing virtual hosting of
> several sites using the same IP via VirtualName directives. Worked very well
> in fact. Now the debian apache wi
4 matches
Mail list logo