From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GUede-0003lK-MJ for garchives@archives.gentoo.org; Tue, 03 Oct 2006 07:24:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k937Nw6d001057; Tue, 3 Oct 2006 07:23:58 GMT Received: from mail.chipin.com (mail.chipin.com [209.85.46.150]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k937M8iH030959 for ; Tue, 3 Oct 2006 07:22:09 GMT Received: from [192.168.1.100] (cpe-72-130-214-183.hawaii.res.rr.com [72.130.214.183]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.chipin.com (Postfix) with ESMTP id A37A9AB80ED for ; Tue, 3 Oct 2006 01:45:28 -0500 (CDT) Message-ID: <45220F93.5070207@munat.com> Date: Mon, 02 Oct 2006 21:21:55 -1000 From: Ben Munat User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 To: gentoo-server@lists.gentoo.org Subject: [gentoo-server] apache config question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 774ef7a0-8b7a-4f1b-bcc1-8e661f5a4a6a X-Archives-Hash: ef72d27c3bb5cd8a6ee0ca14a476a236 Hello. Does anyone know how I can configure apache 2.0.x to map all requests to a given subdomain to a give directory regardless of the rest of the server name? Doing this for my webmail setup... so mail.foo.com, mail.bar.com, mail.baz.com, etc. should all map to my squirrelmail directory. I've been doing this by adding virtual host directives for the mail subdomain for every domain I add but it seems like there should be an easier way. I figure I can probably do it with mod_rewrite but I'm no wizard with that. thanks, b -- gentoo-server@gentoo.org mailing list