Forum Discussion
2 Replies
Sort By
- hooleylistCirrostratusHi,
- Cspillane_18296NimbostratusHello ashok522,
I'm trying to perform URL rewriting such that http://a.com/cc rewrites the URL http://b.com/dd/ee.
Thanks!
To transparently proxy one site while presenting another host and/or URI to the client, you can use the ProxyPass iRule. There is a version for LTM 9.x and one for 10.x:
http://devcentral.f5.com/wiki/default.aspx/iRules/proxypass
http://devcentral.f5.com/wiki/default.aspx/iRules/proxypassv10
Aaron
you can do this with an iRule, here's a simple example to get you going:
when HTTP_REQUEST {
if { [HTTP::uri] equals "http://a.com/cc"} {
HTTP::redirect "http://b.com/dd/ee"
}
}
I haven't tested this but it should be enough for you to work with.
Thanks.