httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: [PATCH] ap_add_filter
Date Sun, 20 Aug 2000 20:21:15 GMT wrote:
> On Fri, 18 Aug 2000, Rodent of Unusual Size wrote:
> > I'm not sure I like that.  But whatever; give 'em rope.
> > What do you propose doing if the foobar filter isn't
> > loaded in the server?
> It would either be up to the foobar module to insert it's filter,
> or the ap_add_filter function returns an error.  Basically, foobar
> has to register the filter with the server.  If it isn't registered,
> then ap_add_filter errors out.

That's a bit of a handwave.  If the foobar filter is part of
mod_foobar, and mod_foobar isn't part of the server's configuration,
and a PHP script says "apache_add_output_filter('foobar');" then
what are you expecting to happen?  The PHP function will return
an error status?

This idea of modules mucking with the downstream filter chain
keeps coming up, and coming up, and..  SOMEbody must have some
examples in mind.  I'd like to hear 'em, becauss so far it sounds
like a major hassle for little or no gain..
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

View raw message