httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <>
Subject Re: Saving the original request URI ahead of a mod_rewrite
Date Sun, 13 Mar 2011 13:35:36 GMT
On Sun, Mar 13, 2011 at 13:15, Eric Covener <> wrote:
> r->main doesn't change on an internal redirect AFAICT.

You're right. And there is ap_internal_fast_redirect() that works
different still. The only thing I can think of that should work for
all three is to follow r->main until it's NULL, then follow r->prev
until you're at the root request.

View raw message