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 paramater:
https://www.abcde.com/login.aspx?ReturnURL=%2fuipriv%2fsport.aspx
but after submitting button or logging in, it keeps coming back to the secure web page; it only works only if I added the "http://www.abcde.com" after ReturnURL as shown below
https://www.abcde.com/login.aspx?ReturnURL=http://www.abcde.com%2fuipriv%2fsport.aspx
Please advise whether there is an option/setting on ip3400 for this or how to insert "http://www.abcde.com" using irule?
Thank you in advance.
Chris
- 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]] } }
- Christopher_Hac
Nimbostratus
Thanks Joe for your quick response. It worked perfectly. - Glad I could help...
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