httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <i...@bnoordhuis.nl>
Subject Re: Overriding mod_rewrite from another module
Date Fri, 31 Dec 2010 18:50:04 GMT
On Fri, Dec 31, 2010 at 18:17, Joshua Marantz <jmarantz@google.com> wrote:
> Is there a better way to solve the original problem: preventing mod_rewrite
> from corrupting mod_pagespeed's resources?

>From memory and from a quick peek at mod_rewrite.c: in your
translate_name hook, set a "mod_rewrite_rewritten" note in r->notes
with value "0" and return DECLINED. That'll trick mod_rewrite into
thinking that it has already processed the request.

Mime
View raw message