Forum Discussion
hooleylist
Aug 24, 2011Cirrostratus
Hi Hatim,
I assume the web app uses absolute references to the internal hostname in response headers and/or content. You can use HttpFox for Firefox or Fiddler2 to check the responses to see where the references are. To rewrite response headers like the Location in redirects, you can use HTTP::is_redirect and HTTP::header replace. For the response payload, you can use a blank stream profile and STREAM::expression iRule.
Here are a few related links:
http://devcentral.f5.com/wiki/iRules.http__is_redirect.ashx
http://devcentral.f5.com/wiki/iRules.http__header.ashx
http://devcentral.f5.com/wiki/iRules.stream__expression.ashx
Or you could use the ProxyPass iRule for this:
http://devcentral.f5.com/wiki/iRules.proxypassv10.ashx
Aaron