Forum Discussion

Joseph_Gallo_31's avatar
Joseph_Gallo_31
Icon for Nimbostratus rankNimbostratus
Feb 06, 2008

HTTP rewrite

Hello, All.

 

 

I am in a crunch here and new to iRules. I need to be able to rewrite our internal server FQDN to our external FQDN Domain Name outgoing to the client. This will ensure that the internal DNS name is not compromised to the outside world. This needs to be added to an existing iRule I have created that redirects the requests to a specified pool.

 

 

i.e. myserver.inside.com to outsidename.outside.com

 

 

Any assistance would be greatly appreciated.
  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    Where is it you need to be able to re-write this, in the packet payload, or in the Location header?

     

     

    Thanks,

     

    Colin
  • The problem is that SAP has embedded links in the Java Stack that expose our internal server names. When a request from the outside world comes in and something is "clicked" on that response back to the client now has our internal server name.dns.com associated with thus failing the client connection. SAP wants us to rewrite the url at the BigIP from internal DNS to our outside facing FQDN URL. I believe this needs to be in the response in one of my current iRules assoicatied with that Virtual Server, but I do no know.