Date: Tue, 04 Jul 2000 07:13:42 -0500 From: Spikeman <spikeman@myself.com> To: Nathan Vidican <webmaster@wmptl.com> Cc: Marc Silver <marcs@draenor.org>, questions@FreeBSD.ORG Subject: Re: Apache Virtualhosts an multiple addresses Message-ID: <3961D4F6.D5AC50A@myself.com> References: <3961CF36.104BB7D6@wmptl.com> <20000704135719.J82739@draenor.org> <3961D240.9CE8B23B@wmptl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
just saw this msg after I sent/get new mail you can still do it look in your httpd near the end it should be something like this <VirtualHost hostname> ServerAdmin root@somename NameVirtualHost ***.***.***.*** ServerName somedomain.com ServerAlias somedomain.com DocumentRoot /path/to/html/dir ErrorLog /var/log/httpd/somedomainerror_log RefererLog /var/log/httpd/somedomainaccess_log TransferLog /var/log/httpd/somedomainaccess_log AgentLog /var/log/httpd/somedomainaccess_log </VirtualHost> I tested it out.. works fine.. Nathan Vidican wrote: > 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 -- ___ /\ \ phase two of global domination in operation, hide all lions. /::\ \ /:/\:\ \ Comments or Questions email spikeman@myself.com _\:\~\:\ \ /\ \:\ \:\__\ Spikeman spikeman@myself.com \:\ \:\ \/__/ http://www.spikeman.net \:\ \:\__\ Find Me On EFNET /whois Spikeman \:\/:/ / \::/ / Friends are lights in winter; \/__/ The older the friend, the brighter the light. 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?3961D4F6.D5AC50A>