httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Vogel <samy-de...@gmx.de>
Subject Re: [users@httpd] mod_filter: and conjunction between two filters
Date Fri, 23 Nov 2007 18:56:30 GMT
Is it really not possible to connect 2 mod_filter matches? Isn't there 
some kind of workarround?

Regards,
Samy

Samuel Vogel schrieb:
> Hey guys,
>
> I have a question about mod_filter. I would like to run an output 
> filter only if the content is not compressed and it's type is 
> text/html. I have tried the following:
>
> FilterDeclare addcomment
> FilterProvider addcomment LAYOUT resp=Content-Encoding !$gzip
> FilterProvider addcomment LAYOUT resp=Content-Type $text/html  
> FilterChain addcomment
>
> But this always ads the filter. Logically this is obvious, because the 
> 3. line ads the filter to every text/html document and does not care 
> about the 2. line anymore. But I'm wondering how I could achive some 
> kind of AND conjunction between the two rules ?
>
> Regards,
> Samy
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message