Forum Discussion
Christopher_Hac
Nimbostratus
Oct 03, 2006ReturnURL HTTPS into HTTP --help
Hello
I currently have problem with web page using ReturnURL or redirect page from secure page back into normal page.
The web server has secure login web site with the following pa...
Oct 03, 2006
You can manipulate the URI with the HTTP::uri command. That in conjunction with the TCL string command should get you going.
when HTTP_REQUEST {
if { [HTTP::uri] contains "ReturnURL=%" } {
HTTP::uri [string map {"ReturnURL=%" "ReturnURL=http://www.abcde.com%" } [HTTP::uri]]
}
}What this does is look for the existence of the string "ReturnURL=%" in the HTTP::uri and if it is found, it does a string map replacing "ReturnURL=%" with "ReturnURL=http://www.abcde.com%" and assigns the new value to the HTTP::uri.
Hope this helps...
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
