Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jul 2000 08:02:08 -0400
From:      Nathan Vidican <webmaster@wmptl.com>
To:        Marc Silver <marcs@draenor.org>
Cc:        questions@freebsd.org
Subject:   Re: Apache Virtualhosts an multiple addresses
Message-ID:  <3961D240.9CE8B23B@wmptl.com>
References:  <3961CF36.104BB7D6@wmptl.com> <20000704135719.J82739@draenor.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc Silver wrote:
> 
> Why not just use the ServerAlias line in apache.  :)
> 
> For eg:
> 
> <VirtualHost x.x.x.x>
>   ServerAdmin webmaster@x.org
>   DocumentRoot /usr/local/x
>   ServerName x.org
>   ServerAlias www.x.org www.superman.org www.yougettheidea.org
>   ErrorLog /usr/local/logs/www.x.org-error_log
>   CustomLog /usr/local/logs/www.x.org-access_log common
> </VirtualHost>
> 
> Something like that should work just fine.
> 
> Cheers,
> Marc
> 
> On Tue, Jul 04, 2000 at 07:49:10AM -0400, Nathan Vidican wrote:
> > Is it possible, to have name-based virtual hosting wherein any given
> > virtual host can be accessed as somehost.com, or www.somehost.com;
> > preferably without having to add to virtual hosts to the system?
> >
> >
> > --
> > Nathan Vidican
> > webmaster@wmptl.com
> > Windsor Match Plate & Tool Ltd.
> > http://www.wmptl.com/
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

I'm working with NAME based hosting here, I can't do <VirtualHost
x.x.x.x>. I don't know if servername will work?

-- 
Nathan Vidican
webmaster@wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3961D240.9CE8B23B>