Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I would hazard a guess that your PerlAccessHandler is being called as part of a subrequest the second time. Try adding something like return unless $r->is_main to the top of your handler and see if it makes a difference.

    I've just been bitten by something similiar, but the other way around. mod_ssl doesn't set up environment variables until the fixup phase. Unfortunately, I needed them in the PerlAuthenHandler phase. So I had to run a subrequest and look at the environment variables for that instead. This is actually mentioned in the eagle book, but it's only one paragraph in 600+ pages. :-)

    -Dom

    • I would hazard a guess that your PerlAccessHandler is being called as part of a subrequest the second time. Try adding something like return unless $r->is_main to the top of your handler and see if it makes a difference.

      Yeah, we already have that in there. At one point some time ago we didn't, but it's been in there for some time now.