ExtFilterDefine intype does not get matched for text/html

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

 



Hi all,

I would like to use an external script for fixing some HTML-issues. The
following works fine for me:

ExtFilterDefine addTokenField cmd="/bin/awk -f foo.awk" enableenv=DO_IT

But since I only want to touch HTML-files I tried:

ExtFilterDefine addTokenField intype=text/html cmd="/bin/awk -f foo.awk"
enableenv=DO_IT

But this time, it doesn't get executed. Searching the Web wasn't useful,
since they all proposed the above solution. 

Apache/2.2.14 runs as Reverse-Proxy and the Backend gives me
'Content-Type: text/html;charset=utf-8'
I suspect that text/html doesn't match the Content-type above.

For me, something like text/* would be sufficient, but that doesn't seem
to be supported.

Any ideas to fix this for types that does not match exactly the intype?
Or is the problem somewhere else?

Thanks in advance:
	Florian


---------------------------------------------------------------------
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