httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject Re: <Host > and <Type > Container
Date Mon, 07 Mar 2005 17:32:51 GMT
Paul Querna wrote:

> Hmm. Less sure about this one.  It seems like it overlaps with other 
> things like AddOutputFilterbyType, but, it might be a better way to 
> handle it anyways:
> <Type application/xml>
>   AddOutputFilter XSLT;DEFLATE
>   TransformOptions +ApacheFS
> </Type>

I have cases where I need to apply some directive to all text files. 
Currently I have to do it this way:

<FilesMatch "\.(htm|html|txt|)>
	Blah On

and it would be easier to do this:

<TypeMatch text/(html|plain)>
	Blah On

It seems trivial, but I do have some more complicated cases that I 
currently have to hack up my modules to do this.

Brian Akins
Lead Systems Engineer
CNN Internet Technologies

View raw message