httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wilson <and...@aaaaaaaa.demon.co.uk>
Subject Re: something to think about for 2.0...
Date Tue, 08 Apr 1997 22:52:42 GMT
Rob Hartill:
> 
> On Tue, 8 Apr 1997, Chuck Murcko wrote:
> 
> > It may be worthwhile thinking about assigning priority to handlers, to
> > force things to happen internally in some defined order. I shudder to
> > think about putting these into a config file, but that may be what we
> > should do.
> 
> mod_perl has stacked handlers.
> 
> In *.conf:
> 
> PerlHeaderParserHandler Imdb::PreRequest::mod_browser Imdb::PreRequest::block_bozos Imdb::AcceptLanguage
> 
> Calls 3 Perl subroutines in sequence. The first emulates mod_browser
> in 3 lines of code, the 2nd boots out unwelcome visitors based
> on any criteria I like, and the third does quick language negotiation.
> 
> Any handler can return a 'DONE' response to prevent the rest from
> kicking in. I think Doug's even got the handlers able to 'pipe' data
> between themselves.
> 
> Mmmm, donuts.    :-b

The sooner Apache 1.* burns, the better.

> Rob Hartill                              Internet Movie Database (Ltd)
> http://us.imdb.com/tour   .. a site for sore eyes.

Ay.

[watch this .sig]

Mime
View raw message