Re: mod_filter: and conjunction between two filters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux