httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: windows build & handler hook
Date Mon, 08 Jan 2001 23:51:50 GMT
> 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 */
    }




Mime
View raw message