From owner-freebsd-questions Sat Sep 29 7:56:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from fe010.worldonline.dk (fe010.worldonline.dk [212.54.64.195]) by hub.freebsd.org (Postfix) with SMTP id 68F7037B401 for ; Sat, 29 Sep 2001 07:56:46 -0700 (PDT) Received: (qmail 18983 invoked by uid 0); 29 Sep 2001 14:56:44 -0000 Received: from 213.237.13.224.adsl.hc.worldonline.dk (HELO NEIGAARD?MOB) (213.237.13.224) by fe010.worldonline.dk with SMTP; 29 Sep 2001 14:56:44 -0000 Date: Sat, 29 Sep 2001 16:58:07 +0200 From: =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= X-Mailer: The Bat! (v1.51) Reply-To: =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= X-Priority: 3 (Normal) Message-ID: <1647929271.20010929165807@e-box.dk> To: Walter Betancourt Cc: freebsd-questions@freebsd.org Subject: Re: http configuration In-Reply-To: <4.2.2.20010929104739.00a3f930@popd.betan.net> References: <4.2.2.20010929104739.00a3f930@popd.betan.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Saturday, September 29, 2001, 4:50:26 PM, Walter wrote: WB> All, WB> I want to configure apache to respond WB> to www.AnyDomain.com and AnyDomain.com WB> - with and without the www. WB> can some one help me on this. In httpd.conf do: NameVirtualHost YOUR_IP_HERE ServerName AnyDomain.com ServerName www.AnyDomain.com You can do some additional stuff inside the VirtualHost if you want. Feel free to ask me more on subject :) -- Med venlig hilsen/Best regards, Søren Neigaard mailto:neigaard@e-box.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message