string profiles and Office documents...

Hi

Hope someone can help- we have a web application which we SSL-offload using BigIP, however owing to vagaries of the application we also have to use a sring profile replacing:

with

We have recently found that this string profile is acting on the content of files- not a problem for text files, but it corrupts Word and Excel files so that they cannot be opened.

Changing from using a string profile to an irule of the form:

when HTTP_RESPONSE {

if { [HTTP::header Content-Type] contains “text/html;charset=UTF-8” } {

STREAM::expression “@http://application.co.uk@https://application.co.uk@”

}

}

doesn’t help…

Any ideas on how to get the F5 not to mangle certain file types??

Martin