Forum Discussion
AngryCat_52750
Nimbostratus
Sep 21, 2012URL 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?
- Mohamed_Lrhazi
Altocumulus
What is server_a21:8080 ? Do you not control that web server? - AngryCat_52750
Nimbostratus
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.. - Mohamed_Lrhazi
Altocumulus
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... - AngryCat_52750
Nimbostratus
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..
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects