httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: windows build & handler hook
Date Tue, 09 Jan 2001 00:31:06 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 */
> >     }
> 
> Vomit!

Thank you Ben.  I have been trying to phrase that exact feeling, but I
couldn't express it quite that well.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message