Forum Discussion
Brian_Kenworthy
Nimbostratus
Aug 30, 2012Redirect to New Page but Pass Query String Parameters
Hi All,
Need some advice on what an iRule would look like to do this....We are moving from legacy ASP listeners to .net listeners, but we don't want the client to change their endpoint ...
Can you try string map -nocase to do a case insensitive replacement?
log local0. "Rewriting [HTTP::uri] to [string map -nocase {"Vendor" "Listeners" ".asp?" ".ashx?"} [HTTP::uri]]"
HTTP::uri [string map -nocase {"Vendor" "Listeners" ".asp?" ".ashx?"} [HTTP::uri]]
Aaron
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