perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From had...@danisch.de (Hadmut Danisch)
Subject Re: Generating login forms from authen handler?
Date Thu, 08 Mar 2007 11:17:20 GMT
On Thu, Mar 08, 2007 at 10:37:37AM +0000, John ORourke wrote:
> The authen handler can simply return the right status code - eg. login 
> failed, OK, declined etc
> 
> The response phase can then do something special with it - I have sites 
> on which the front page ( / ) has the login form, and in httpd.conf I do:
> 
> <VirtualHost>
>    ErrorDocument 401 /
> </VirtualHost>



I am currently doing something similiar, I just modify the URL to that
of the script to be called. 

But I need to generate the HTML code from *within* the authen handler
(needs dynamic generation etc.). 

regards
Hadmut


Mime
View raw message