On Sat, Mar 12, 2011 at 10:26 PM, Ben Noordhuis <i...@bnoordhuis.nl> wrote: > On Sun, Mar 13, 2011 at 04:02, Eric Covener <cove...@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.