Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 846 invoked from network); 2 Mar 2010 01:37:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Mar 2010 01:37:23 -0000 Received: (qmail 13655 invoked by uid 500); 2 Mar 2010 01:37:21 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 13632 invoked by uid 500); 2 Mar 2010 01:37:21 -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 13617 invoked by uid 99); 2 Mar 2010 01:37:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 01:37:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of abiacco@formatdynamics.com designates 209.111.94.85 as permitted sender) Received: from [209.111.94.85] (HELO mx-01.formatdynamics.com) (209.111.94.85) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 01:37:12 +0000 Received: from mx-01.formatdynamics.com (localhost.localdomain [127.0.0.1]) by mx-01.formatdynamics.com (Postfix) with ESMTP id A43BF25DA01 for ; Mon, 1 Mar 2010 18:36:51 -0700 (MST) Received: by mx-01.formatdynamics.com (Postfix, from userid 502) id 8657425DA02; Mon, 1 Mar 2010 18:36:51 -0700 (MST) X-Spam-DCC: z.dcc-servers: mx-01.formatdynamics.com 1049; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mx-01.formatdynamics.com X-Spam-Level: X-Spam-Report: * -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP * -50 LOCAL_RCVD LOCAL_RCVD * 3.2 FH_DATE_PAST_20XX The date is grossly in the future. * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] * 1.3 AWL AWL: From: address is in the auto white-list Received: from missoula.formatdynamics.com (missoula.formatdynamics.com [10.10.10.2]) by mx-01.formatdynamics.com (Postfix) with ESMTP id 5FA5825DA01 for ; Mon, 1 Mar 2010 18:36:45 -0700 (MST) X-MimeOLE: Produced By Microsoft Exchange V6.5 x-cr-hashedpuzzle: ANsC Aa9U AqSr B01F CYXZ DmeA DzCn GDEY IJkB JIKl JPM6 JdLX KVtm K42L LfW/ LrdC;1;bQBvAGQAdQBsAGUAcwAtAGQAZQB2AEAAaAB0AHQAcABkAC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{DEC7611A-8D45-47E3-B7BF-4595A67E9567};YQBiAGkAYQBjAGMAbwBAAGYAbwByAG0AYQB0AGQAeQBuAGEAbQBpAGMAcwAuAGMAbwBtAA==;Tue, 02 Mar 2010 01:36:37 GMT;cgBlAHcAcgBpAHQAZQAgAHAAcgBvAGMAZQBzAHMAaQBuAGcAIABiAGUAZgBvAHIAZQAgAGMAYQBjAGgAZQA= MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message Subject: rewrite processing before cache Date: Mon, 1 Mar 2010 18:36:37 -0700 Message-ID: <40D5E3C3CBE03D45A776E7C358BDE9080199DEDA@missoula.formatdynamics.com> x-cr-puzzleid: {DEC7611A-8D45-47E3-B7BF-4595A67E9567} X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: rewrite processing before cache Thread-Index: Acq5qMyv3J0B8QFqR9ymCPWZwCwZbA== From: "Anthony J. Biacco" To: X-Virus-Scanned: ClamAV using ClamSMTP C:127.0.0.1 L:127.0.0.1 D:Mon Mar 1 18:36:51 2010 -0700 (MST) X-Old-Spam-Status: No, hits=-49.9 required=7.0 tests=ALL_TRUSTED,AWL,BAYES_00, FH_DATE_PAST_20XX,LOCAL_RCVD autolearn=ham version=3.2.5 I asked a vaguely similar question about a year ago, but this one is a little more simplistic in comparison. Running 2.2.14 on linux, disk caching a servlet's output, not ignoring query string as that can change the output, and not using cacheignoreheaders. My problem is, using rewrite rules on such requests don't always get triggered. For example, if I'm trying to block a browser through a rewrite rule for a request to said servlet, sometimes the cache takes over and serves the cached output instead of following the rewrite. i.e. sometimes the browser will get blocked and sometimes it will get cached content. I'm wondering what's the workflow on such a scenario, and how can I configure it so the rewrite always gets processed before a cache check, if possible. Thanx, -Tony --------------------------- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abiacco@formatdynamics.com http://www.formatdynamics.com