Forum Discussion
hatim1
Aug 25, 2011Nimbostratus
Hi Aaron,
When running fiddler i get only 404's errors. Following a successful first request on the main page. F5 reverts back to the external FQDN and tries external.domain.com/someimage.gif instead of internal.domain.com/someimgae.gif. So no need of is_redirect. for the HTTP::header replace that is what i used in my irule above.
I thought i might disable the compression to allow for the stream expression to work.
I create an empty stream profile,
I added the following at the top of "when HTTP_REQUEST":
Disable the stream filter for all requests
STREAM::disable
remove the compression offerings from the client
HTTP::header remove "Accept-Encoding"
....
Then created this:
when HTTP_RESPONSE {
STREAM::expression "@external.domain.com@internal.domain.com@"
STREAM::enable
}
My problem is the encoding is still happening ( I see Accept-Encoding: gzip, deflate under Client using Fiddler) even though i have the instruction above and i made sure the http profile for the VS is using selective for the compression.
any idea on what is going on?
thanks
Hatim