Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 65768 invoked from network); 5 Jun 2008 12:01:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2008 12:01:11 -0000 Received: (qmail 91843 invoked by uid 500); 5 Jun 2008 12:01:13 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 91821 invoked by uid 500); 5 Jun 2008 12:01:13 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 91810 invoked by uid 99); 5 Jun 2008 12:01:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 05:01:13 -0700 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: local policy) Received: from [81.223.151.18] (HELO mail.livingliquid.com) (81.223.151.18) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2008 12:00:17 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.livingliquid.com (Postfix) with ESMTP id B0E452027E for ; Thu, 5 Jun 2008 14:00:57 +0200 (CEST) Received: from mail.livingliquid.com ([127.0.0.1]) by localhost (mail.livingliquid.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31733-05 for ; Thu, 5 Jun 2008 14:00:53 +0200 (CEST) Received: from [127.0.0.1] (unknown [192.168.81.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.livingliquid.com (Postfix) with ESMTP id 37400201C4 for ; Thu, 5 Jun 2008 14:00:53 +0200 (CEST) Message-ID: <4847D564.2000603@livingliquid.com> Date: Thu, 05 Jun 2008 14:00:36 +0200 From: living liquid | Christian Meisinger User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: Request Filter References: <4847B00B.10401@livingliquid.com> <20080605103035.7e71e99b@grimnir> In-Reply-To: <20080605103035.7e71e99b@grimnir> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned: livingliquid X-Virus-Checked: Checked by ClamAV on apache.org > What you've got looks more complex than it should be (but I'm > not spending the time to go through it in detail). > > 1. That's not a filter in Apache terminology. > 2. You're basically doing the same as mod_access/mod_authz_host > but using a different lookup. > 3. mod_rewrite can already do what you're looking for. > If you want to drive it from SQL, you can use > RewriteMap "dbd:your-SQL-query" oh... well i will take a look at the RewriteMap, thanks :)