httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: response handlers get all requests
Date Sun, 22 Jun 2003 23:48:57 GMT
Marc M. Adkins wrote:
> ... The ap_hook_handler() call
> does not specify the handler key from the corresponding AddHandler
> configuration directive.  As a consequence, the specified handler function
> must look at and accept or decline each request....

yep, see most handlers in the modules provided with Apache 
(mod_autoindex, mod_cgi, etc.)

> Is there a rationale for this?

dunno

>  Am I missing a register_hook function that
> would allow me to set a key for a response handler?

no

>  I'm looking at trace
> statements and my handler must reject PNG files and so forth...

your handler needs to look at r->handler and decline stuff that you're 
not supposed to handle



Mime
View raw message