Rewriting URLS using BigIP

Can someone help me re: URL rewriting?

I’m trying to perform URL rewriting such that http://a.com/cc rewrites the URL http://b.com/dd/ee.

Thanks!

Hi,

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

Hello ashok522,

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.