From owner-freebsd-questions Tue Jan 7 1:29:41 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E125D37B401 for ; Tue, 7 Jan 2003 01:29:39 -0800 (PST) Received: from vixen.pragma.no (rudolph.pragma.no [212.20.194.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF0B43E4A for ; Tue, 7 Jan 2003 01:29:37 -0800 (PST) (envelope-from awand@pragma.no) Received: from pragma.no (DNSSPOOFER [212.20.194.160]) by vixen.pragma.no (Netscape Messaging Server 4.15) with ESMTP id H8C7VA00.F2W; Tue, 7 Jan 2003 10:33:10 +0100 Message-ID: <3E1A9DE2.3050200@pragma.no> Date: Tue, 07 Jan 2003 10:29:06 +0100 From: Andreas =?ISO-8859-1?Q?Wider=F8e?= Andersen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Rus Foster Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Apache Wildcard Aliasing References: <20030107083835.U56927-100000@freebsd.rf0.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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 Rus Foster wrote: > Hi All, > I'm trying to work out if there is a way that I can get apache to hand= el > wildcard subdomains. Bascially what I would like is that if I have a us= er > joe with the subdomain joe.fsck.me.uk that apache will automatically > direct http://joe.fsck.me.uk and http://www.joe.fsck.me.uk to > /home/joe/public_html. Is this possible or will I have to setup everyon= e > manually? If my memory serves me well: ServerAdmin webmaster@domain.com DocumentRoot /usr/local/www/virtual/domain.com/data AllowOverride All Options Indexes Includes ServerName www.domain.com ServerAlias *.domain.com /Andreas --=20 Andreas Wider=F8e Andersen Pragma AS http://www.pragma.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message