Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 84609 invoked from network); 6 Dec 2005 15:12:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Dec 2005 15:12:19 -0000 Received: (qmail 68372 invoked by uid 500); 6 Dec 2005 15:12:01 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 68359 invoked by uid 500); 6 Dec 2005 15:12:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 68343 invoked by uid 99); 6 Dec 2005 15:12:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 07:12:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jslive@gmail.com designates 64.233.184.192 as permitted sender) Received: from [64.233.184.192] (HELO wproxy.gmail.com) (64.233.184.192) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2005 07:12:00 -0800 Received: by wproxy.gmail.com with SMTP id i2so375320wra for ; Tue, 06 Dec 2005 07:11:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=njxuv0Lb1FPxqm1W00XD34XIWsUDL/rq5p327D3BJqpRJiL2FwaminZyJeUeTOL/dRonah0jj+5mh35fDtxYWukSPMKcAVas6IcBmd+zQs4Ierr5Pyv/vahm1rDBNqXs9h4V0wV0F2hD2zU3Jk+M74f2ppsQOrUQKjdtupH4zlE= Received: by 10.65.73.9 with SMTP id a9mr562493qbl; Tue, 06 Dec 2005 07:11:36 -0800 (PST) Received: by 10.65.11.16 with HTTP; Tue, 6 Dec 2005 07:11:36 -0800 (PST) Message-ID: Date: Tue, 6 Dec 2005 10:11:36 -0500 From: Joshua Slive To: users@httpd.apache.org In-Reply-To: <4395A974.8050905@icilalune.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43946B10.1010704@icilalune.com> <43956DBA.5020203@icilalune.com> <4395A72E.6000906@icilalune.com> <4395A974.8050905@icilalune.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] mod_rewrite mass virtual hosting and aliases X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 12/6/05, gregory duchesnes wrote: > RewriteCond ${vhost:%1} ^(/.*)$ That %1 doesn't reference anything, which is why you have an empty key. I think you want to replace it with ${lowercase:%{SERVER_NAME}} Be careful here, however. What happens if the name isn't in the map?=20 You should at least supply a default. Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org