Forum Discussion
Davean_Hosang_1
Nimbostratus
Sep 11, 2012Redirect host and path but keep query string on redirect
I need to redirect a request to a new host and path but keep the query string the same. Can someone help me with the best way of doing this?
If request contains “https://olddomain.com/SelfServ/W...
Michael_Yates
Nimbostratus
Sep 12, 2012The "string tolower" takes the value of the [HTTP::path] and puts everthing in lower case.
So if someone entered "/SelfServ/WebContactResponse.aspx" or "/SELFSERV/WEBCONTRACTRESPONSE.ASPX" the value would be put into all lower case "/selfserv/webcontactresponse.aspx" (a known state) for an accurate comparison to trigger the event.
It does not change the actual value that will be sent to the server. Since the URI Value of a URL is case sensitive and doing so may cause your application to fail.
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