httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <bak...@web.turner.com>
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
</FilesMatch>

and it would be easier to do this:

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


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

Mime
View raw message