Loading ...
Sorry, an error occurred while loading the content.

Re: [mp2] PerlAuthenHandler ->Internal_Redict question

Expand Messages
  • Bengt-Arne Fjellner
    ... Thanks for that. I was going to just check portnumbers but thats much better. ... ... Ahh that was the one I was looking for. Thanks. -- cheers
    Message 1 of 3 , Jul 22, 2005
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.