This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id:
42530
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
2.0.4
Fixed in:
(no value)



Subject: Trivial PerlAuthenHandler dies with 500 ISE and no log message
Consider the following tied to PerlAuthenHandler: sub handler { return Apache2::Const::OK; } since it didn't set $->auth_type or $r->user, Apache gets confused. Fair enough. But it then generates a 500 ISE with no logging to this fact. It's taken me all weekend to work out that I need to sub handler { my $r = shift; $r->auth_type("Basic"); $r->user("my-name-here"); return Apache2::Const::OK; } -- Paul Evans
I forgot to add... It would be nice if, at the least, the docs brought much clearer attention to this fact. Preferably with a nice big example showing, for example, the above. Ideally it would be nice if apache threw an error message explaining why it was going to 500 ISE; though I appreciate that might be out of mod_perl's hands and into apache proper. -- Paul Evans


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.