hi all,
no way to solve my problem using an existing filter. tests on all modifies i've tryed failed. so i've made this new header filter:
In = TRUE
Out = FALSE
Key = "Content-Type: Fix the default page [vm] (In)"
URL = "[^/]+/(^?)"
Replace = "text/html$FILTER(True)"
it works in a different way from
Key = "Content-Type: Filter text/plain (In)"
because it applyes only to the default web page when url is
www.somewhere.com/ with ending /, not to txt files. this way you can active filtering of text files or not as needed. but if you always have "filter text/plain" active you don't need this, but you need "filter text plain" placed after "fix mime types".
if someone will be able to merge this filter with an existing one he will make me happy. i'm constantly trying to simplify my filter set.
regards,
altosax.
<edit>: just to share this attempt (but i've tryed many, many more)
i've tryed to simplify "fix mime types" but this breaks sites:
In = TRUE
Out = FALSE
Key = "Content-Type: Fix MIME types (In)"
URL = "*.$LST(Mime-List)(^?)"
Match = "text/*"
Replace = " "
Edited by - altosax on 05 Jul 2002 22:59:32