Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 12188 invoked from network); 22 Apr 2009 14:17:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 14:17:58 -0000 Received: (qmail 77137 invoked by uid 500); 22 Apr 2009 14:17:54 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 77104 invoked by uid 500); 22 Apr 2009 14:17:54 -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 77095 invoked by uid 99); 22 Apr 2009 14:17:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 14:17:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of covener@gmail.com designates 209.85.220.167 as permitted sender) Received: from [209.85.220.167] (HELO mail-fx0-f167.google.com) (209.85.220.167) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 14:17:46 +0000 Received: by fxm11 with SMTP id 11so3473775fxm.24 for ; Wed, 22 Apr 2009 07:17:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=8FKa+ePV3pW4VHJL/hn7dCNgt6azaqwfIMk8yZxqa0Y=; b=TKVOHSkvJeqZz55FYyrsuQu+3tvZMBDh/hSoZU1GDGRmuE0M/jmC2l9vGAxoP4fv0i t3FV+beQKJ6ZaU/v1STbipOB1Yrnif0/6mQHh+5M3oxR3ge7OS5aMgnHXdJWRG1ktDIJ ByAluw14QzAUDLBp8aPfEphQw9Cob6CBs0S5Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=oGTXLqr/CVYkkQc3Uj+0nMuTT7i70e6HZPQCSOwQS1/PRA6z7oYR4aFCoYWmbVYxLL VEzsSIgUeH9pbFvcWmdUBWw0faP+21Fh+hsaQPJbLoZMkdA+jzgNSz9dv2K+Ugc8BZPu vqJ5NXrxTRURPj06BN5xKzmfi6W7naYAb2SiI= MIME-Version: 1.0 Received: by 10.223.116.205 with SMTP id n13mr2600213faq.103.1240409846668; Wed, 22 Apr 2009 07:17:26 -0700 (PDT) In-Reply-To: <49EF2631.7030103@hidayahonline.org> References: <49EF0BB0.9070406@hidayahonline.org> <1404e5910904220620t3aa148c9scd57fd84e0bfe33b@mail.gmail.com> <49EF2631.7030103@hidayahonline.org> Date: Wed, 22 Apr 2009 10:17:26 -0400 Message-ID: <1404e5910904220717xa0149eeif4770dd4d1b66261@mail.gmail.com> From: Eric Covener To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Server-Variables in CondPattern of RewriteCond directive On Wed, Apr 22, 2009 at 10:14 AM, Basil Mohamed Gohar wrote: >> >> Outside of htaccess, the pattern is compiled at startup, so you can't >> use variables (because they depend on parts of the request, even >> ServerName). >> >> IIUC It's feasible in per-directory, but not implemented. >> >> > > So, what this means is it's not possible as it stands right now, correct? Correct. You can usually get to the same ultimate result by putting the variables in the 2nd argument and being more clever with captures and multiple conditions, etc. If you can describe what your end goal is, someone here might be able to help construct a ruleset. -- Eric Covener covener@gmail.com --------------------------------------------------------------------- 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