On Monday 03 May 2010 14:53:23 Cédric Bertolini wrote: > Is there another way to access the main request ? > No, $r->main is the only way to get the main request.
But an internal redirect is a different thing. It is not a subrequest. Hence $r->main is undef. You are looking for $r->prev. It gives you the req object before to the redirect. Torsten Förtsch -- Need professional modperl support? Hire me! (http://foertsch.name) Like fantasy? http://kabatinte.net