Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 96731 invoked from network); 25 Feb 2009 14:57:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Feb 2009 14:57:24 -0000 Received: (qmail 20259 invoked by uid 500); 25 Feb 2009 14:57:13 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 20244 invoked by uid 500); 25 Feb 2009 14:57:13 -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 20235 invoked by uid 99); 25 Feb 2009 14:57:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 06:57:13 -0800 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 krist.vanbesien@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-fx0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 14:57:05 +0000 Received: by fxm25 with SMTP id 25so18019fxm.24 for ; Wed, 25 Feb 2009 06:56:45 -0800 (PST) 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=zDe2eTQUSpThE+F0fnspE9PO4dRVdZoHHaU/BvhjGoc=; b=FxnVgRRHoM0RuZ4d+k5kI9R/MmOYoICSlJp3pIS1YHVsHc0Jz8cdYg/HMhksmXC56z KCRBVln63T/GDxF2V1UY5esfeHxysTDW+T4WGywuCE+eb40/8Id0KLyd6/D2nOoMP1Jw K1g784A4G4btxTmugX0e3rguUPJzpypH3MqEk= 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=RAeqQ+X/iBt+9XC7TjCBzw5DCQiVYsZmRW4HGKQerX1U1TUsTM2VYVKaSa+dYv0X+8 vBw2gJQdxQnkiP/xgb1EJ+wW8OJ58Afr8PqUesTiktaocaUT6lJehD15sH2cgGdGUU7P QCcZr1DqtrLLH42ETk/u+4m1av+lu8HPOMWr4= MIME-Version: 1.0 Received: by 10.180.241.8 with SMTP id o8mr66104bkh.102.1235573805302; Wed, 25 Feb 2009 06:56:45 -0800 (PST) In-Reply-To: <49A54573.6010004@bellatlantic.net> References: <49A3E0CA.5080905@rs-labs.com> <49A54573.6010004@bellatlantic.net> Date: Wed, 25 Feb 2009 15:56:45 +0100 Message-ID: <6ed6382b0902250656m7e2518bdg7255356b09bc8636@mail.gmail.com> From: Krist van Besien To: users@httpd.apache.org, Tom.Donovan@acm.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Mixing rewrite with authn_dbd: Rewriting based on path value stored in mysql table On Wed, Feb 25, 2009 at 2:19 PM, Tom Donovan wr= ote: > > It may not be possible to do what you want. =A0Apache locates the file to > serve before deciding whether to prompt for authentication. That is not entirely true. When a request comes in apache does an "early location walk" verifying blocks before the URI to Filename phase (where rewriting takes place) So it should be possible if you use a block. # Put DBM authentication arguments here .... RewriteRule /isp/stats /%{ENV:AUTHENTICATE_URL} That is just a guess however, can't try this out myself. Note to the original poster: If you get this working could you post your solution here? Krist --=20 krist.vanbesien@gmail.com krist@vanbesien.org Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- 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