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 03:02:53 GMT
On Sat, Mar 12, 2011 at 9:45 PM, Ben Noordhuis <info@bnoordhuis.nl> wrote:
> On Sun, Mar 13, 2011 at 02:48, Eric Covener <covener@gmail.com> wrote:
>>> So I like #1 best.  Any other opinions or ideas?
>>
>> I solved a similar problem recently by using apr_pool_userdata_set on
>> r->pool which you can still find after the internal redirects of
>> rewrite in htaccess / with PT flag.
>
> What Joshua is describing sounds like a sub-request and those get
> their own pool, without the user data of the parent pool. I would
> probably follow r->main.

OP specifically mentions "internal redirect" and rewrite-in-htaccess.

Mime
View raw message