Forum Discussion
marv_Williams_5
Sep 10, 2015Nimbostratus
Redirecting URI and Dynamic Content
I am struggling to get this to work. Here is the scenario:
https://mycompany.com/virtual.aspx?code=....&type=....
Redirect to:
https://egift.mycompany.com/egift.aspx?eid=.....&tid=.....
marv_Williams_5
Sep 10, 2015Nimbostratus
Here is the I-Rule I initially came up with to redirect but it was chopping off the dynamic content
when HTTP_REQUEST { set uri [HTTP::uri] set host [HTTP::host] if { "$uri" contains "/egift" } { HTTP::redirect "https://egiftpp.mycompany.com/$uri" } }
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