Re: [mp2] PerlAuthenHandler ->Internal_Redict question
- Geoffrey Young wrote:
>Thanks for that. I was going to just check portnumbers but thats much better.
> Bengt-Arne Fjellner wrote:
>> Hi. Im working on a modperl login module that amongst others will check for https
>> If not https I want to give an error page instead.
> you'll need something like Apache::SSLLookup to determine https during the
> authen phase.
>> Is it possible to return html from an authen handler ?
>Ahh that was the one I was looking for. Thanks.
> if you want an error page, use $r->custom_response() to set up the error
> content for FORBIDDEN. that's a far more idiomatic approach :)
Luleå university of technology