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: Saving the original request URI ahead of a mod_rewrite
Date Sun, 13 Mar 2011 02:45:50 GMT
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.

Mime
View raw message