André Warnier a écrit : > CROMBEZ Emmanuel wrote: >> Hello, I try to use PerlAuthzHandler but the return HTTP_UNAUTHORIZED >> doesn't work. >> > What do you mean by "it doesn't work" ? > Can you give us a clue ? > > In the documentation I read :
$r->note_basic_auth_failed; return Apache2::Const::HTTP_UNAUTHORIZED; This code (in PerlAuthenHandler and PerlAuthzHandler) must return an 401 HTTP error code, but I have a 200 ! First, I thought "the handler is not called", I added some log, and the handler is called.