[mod_python] Customized permission denied message?

Gregory (Grisha) Trubetskoy grisha at modpython.org
Wed Oct 30 13:29:26 EST 2002


Yes, the authenhandler (or any handler for that matter) can service the
request to completion by writing whatever needed to the client (also you
may need to set the right status and headers if any) and return
apache.DONE, thereby telling the server that the request is fully serviced
and no other handlers (except for loging and cleanup) will be executed.

Grisha

On 30 Oct 2002, Conrad Steenberg wrote:

> Hi
>
> Is it possible to generate a customized permission denied message in an
> authenhandler?
>
> I'm using mod_python the answer XML-RPC requests and sending back an
> XML-RPC denial message is more elegant than the standard text message.
>
> Thanks!
>
> Conrad
>
> --
> *-----------------------------------------*
> | Conrad Steenberg                        |
> | Caltech, Mail Code 356-48               |
> | Pasadena, CA, 91125                     |
> | e-mail: conrad at hep.caltech.edu          |
> | Tel: (626) 395-8758                     |
> *-----------------------------------------*
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://www.modpython.org/mailman/listinfo/mod_python
>




More information about the Mod_python mailing list