Forum Discussion
frank_30469
Feb 14, 2011Nimbostratus
ProxyPass iRule uri rewriting in response
Hello,
I'm having the following problem.
I want to rewrite a url http://www.test1.com/yahoo to http://www.test2.com/my_yahoo
The problem is that on the response the uri (my_yahoo) everything is ok, but then the F5 is not rewriting the uri anymore.
So when a user browses to http://www.test1.com/yahoo, he sees http://test1.com/my_yahoo
I'm using ProxyPass version 10.3
The log output is in attachment.
Anyone any idea?
- hooleylistCirrostratusHi Frank,
Only uncomment this event if you need extra debugging for content rewriting. This event can only be uncommented if the iRule is used with a stream profile. when STREAM_MATCHED { if { $static::ProxyPassDebug } { log local0. "$log_prefix: Rewriting match: [STREAM::match]" } }
- frank_30469Nimbostratushoolio,
- frank_30469NimbostratusI uncommented those extra lines.
- hooleylistCirrostratusCan you use a browser plugin like HttpFox for Firefox or Fiddler2 for any browser to find where the /my_yahoo reference is coming from? Is it in the response content or a response header?
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