httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: ap_custom_response()
Date Wed, 05 Aug 1998 06:24:20 GMT

In article <3.0.5.32.19980804145704.0096da40@pop.ma.ultranet.com> you wrote:

> For sometime now, mod_perl has had an $r->custom_response() method which
> hooks into the ErrorDocument mechanism at runtime.  This has proved quite
> useful and popular, works like so:

> /* print this string if NOT_FOUND error is thrown */
> ap_custom_response(NOT_FOUND, "Sorry, can't find that");

> /* run this url if NOT_FOUND error is thrown */
> ap_custom_response(NOT_FOUND, "/error_scripts/not_found.pl");

> Thoughts on adding this function to 1.3.2-dev?

I like the idea because I think it would be useful for some modules to have
such functions. Wasn't this one of the stuff we wanted for mod_proxy some time
ago, but finally solved it different?

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message