Forum Discussion
Mike_Watson_125
Nimbostratus
Mar 11, 2013Irule Transparent Ridiredt
I have a user type http://elmdemo.access.com and need it to redirect to http://elmdemo1.access.com :6000/elmdemo/sighno.html. I have the redirct working, but it changes the users URL in the browser. ...
Kevin_Stewart
Employee
Mar 11, 2013As nitass indicated, At the very least the HTTP::header replace Host and HTTP::uri commands will transparently change the Hosts header and URI on the ingress flow. The HTTP::redirect command sends the user a physical 302 redirect (which alters the browser URL). There are some potentially dangerous assumptions being made though:
1. Any request for "/" will need to be redirected to "/elmdev/signon.html"
3. The application server isn't sending back any references to its physical location and paths in references to embedded objects and redirects
For a more robust solution that handles all of the translations between the client side and server side (hosts, port, URIs, pools, etc.), please take a look at the ProxyPass iRule.
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