httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: windows build & handler hook
Date Tue, 09 Jan 2001 00:09:36 GMT
Doug MacEachern wrote:
> 
> > if i have a <Location ...> with SetHandler modperl, and the handler
> > returns DECLINED for a file (e.g. /location/foo.css), the match will fail
> > (no /) and SERVER_ERROR will result.
> 
> although, with the change to reuse r->handler, i can make it work like so:
> 
>     retval = modperl_per_dir_callback(MP_RESPONSE_HANDLER, r);
> 
>     if (retval == DECLINED) {
>         r->handler = "*/*"; /* let http_core or whatever try */
>     }

Vomit!

Cheers,

Ben.

--
http://www.apache-ssl.org/ben.html

"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit." - Robert Woodruff

Mime
View raw message