Forum Discussion
Brian_Kenworthy
Aug 30, 2012Nimbostratus
Redirect 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 ...
hooleylist
Sep 07, 2012Cirrostratus
Are you trying to log the updated URI value? In pre-v11.0, the HTTP::uri was cached in the same event. So you could use something like this:
when HTTP_REQUEST {
log local0. "Rewriting [HTTP::uri] to [string map {"vendor" "listeners" ".asp" ".ashx"} [HTTP::uri]]"
HTTP::uri [string map {"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