Forum Discussion

AngryCat_52750's avatar
AngryCat_52750
Icon for Nimbostratus rankNimbostratus
Sep 21, 2012

URL Redirect with no URL name change

I am trying to setup a URL redirect for my users.. I have the basic URL redirect working but the manager wants the URL to be the masked and not show the re-directed address..

 

What ihave right now -

 

Users go to DNS name - mycompany - resolves to VS (172.26.11.100)

 

the VS is associated with the following iRule -

 

when HTTP_REQUEST {

 

HTTP::redirect "http://server_a21:8080/DefaultApp/"

 

}

 

How do i get it such that the URL in the browser continues to show http://mycompany/ and not the re-directed address?

 

4 Replies

  • Its a web server in our environment.. So the manager wants to make it as easy and seamless for his folks to get to that web server without having needing to know the complete URL.. and the end destination does not change..
  • You could make that web server pool member in LTM, and just load balance traffic to it. as long as the web server does not care about the Host header...
  • Good idea LrHazi.. we will need the URI to be what ever the user enters in.. only the URL changes.. we came up with an irule to change the URL and thats working for us now..