Forum Discussion
hatim1
Nimbostratus
Aug 24, 2011mapping an external FQDN name to an Internal FQDN one
Hi all,
I am trying to map an external FQDN name to an internal FQDN (not known externally) using an irule. Due to this fact I am changing the host name in the irule and sending the request ...
hatim1
Nimbostratus
Aug 25, 2011
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
