Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

ll357521_6739's avatar
ll357521_6739
Icon for Nimbostratus rankNimbostratus
Apr 13, 2010

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!

2 Replies

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    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.