Geoffrey Young wrote:
>
>
> 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.

Thanks for that. I was going to just check portnumbers but thats much better.

>
>> Is it possible to return html from an authen handler ?
>
> yes.
>
>> How?
<snip>
>
> 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 :)
>
Ahh that was the one I was looking for. Thanks.

-- 
cheers
Bengt-Arne Fjellner
LuleƄ university of technology
SkellefteƄ Sweden


Reply via email to