On Sun, Mar 13, 2011 at 02:48, Eric Covener <cove...@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.