httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject Re: Flexible Handlers
Date Tue, 04 Oct 2005 15:30:22 GMT
Brian Akins wrote:

> This is interesting. But what if we had a "handler chain" much like a 
> filter chain?  First one to return OK stops the chain.  Chains could be 
> built up as one shots (like SetHandler) or more elaborate like 
> mod_filter does with filters.  the default_handler in core could always 
> be added to the end.

Some pseudo config directives

<Location /stuff>
	SetHandler stuff-handler
	#Handler chain is now stuff-handler, default

HandlerChain name-of-chain stuff-handler other-handler yet-another

<Location /stuff2>
	SetHandlerChain name-of-chain
	# handler chain is now stuff-handler, other-handler,
	# yet-another, default


<Location /more-stuff>
	SetHandlerChain name-of-chain
	AddHandler something-handler
	#handler chain is now stuff-handler, other-handler,
	# yet-another, something-handler default

Brian Akins
Lead Systems Engineer
CNN Internet Technologies

View raw message