On Monday 03 September 2001 18:58, William A. Rowe, Jr. wrote:
> From: "Ryan Bloom" <[EMAIL PROTECTED]>
> Sent: Monday, September 03, 2001 8:03 PM
>
> > On Monday 03 September 2001 15:42, Rasmus Lerdorf wrote:
> > > There should be a way to specify ordering of the content handlers in
> > > the stack.
> >
> > There is.  In fact, there are TWO ways to configure this.  The first way,
> > is to do it in the config file.  If you do:
> >
> > AddOutputFilter INCLUDES PHP
>
> Did you mean this?  SetOutputFilter INCLUDES;PHP

Yeah, I didn't lookup the syntax, just went from memory.

Ryan

> At this point, I'm strongly in favor of all usual mappings
> (Add/SetOutputFilter) occuring in the mime_types phase.  When the
> insert_filters hook is invoked, your module can look at the filter stack,
> and rearrange it however you like.  Of course, others in that hook chain
> could do the same, so it makes sense to only change what you absolutely
> must.

No, allowing random modules to re-order the filter chain is just asking for
trouble, and it removes any hope of allowing the admin to order it correctly
for their site.

Ryan
______________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
--------------------------------------------------------------

Reply via email to