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.

Reply via email to