On Mon, 22 Jan 2001, Thomas Plathe wrote:
> Hello,
>
> In my PerlAuthenHandler I need to send back the WWW-Authenticate-line.
> I use $r->headers_out("WWW-Authenticate" => 'basic realm => "MyName"').
> But if i returned from the Handler with "return AUTH_REQUIRED" , Apache
> doesn't send this line in the header.
> Do I need something else ?
you shouldn't need to set the WWW-Authenticate header yourself, apache has
an api for that. see modperl.com chapter 6.
- header_out/AUTH_REQUIRE Thomas Plathe
- RE: header_out/AUTH_REQUIRE Rob Bloodgood
- Doug MacEachern
