httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: Saving the original request URI ahead of a mod_rewrite
Date Sun, 13 Mar 2011 12:15:55 GMT
On Sat, Mar 12, 2011 at 10:26 PM, Ben Noordhuis <info@bnoordhuis.nl> wrote:
> On Sun, Mar 13, 2011 at 04:02, Eric Covener <covener@gmail.com> wrote:
>> OP specifically mentions "internal redirect" and rewrite-in-htaccess.
>
> Hah, the moment I fired off that email I thought "oh wait, mod_rewrite
> *does* do an internal redirect somewhere".
>
> Internal redirects share a pool so your suggestion would work but
> following r->main is still the better solution, I think, if only
> because it works for both redirects and sub-requests.

r->main doesn't change on an internal redirect AFAICT.

Mime
View raw message