Forum Discussion
Adrian_Turcu_10
Nimbostratus
Oct 30, 2007Help With HTTP_RESPONSE
Hello Gurus
Could someone help me with a quick rule to replace a header in the response back to the client, please?
My problem is like follows: we have a poxi app (not proxy) and t...
kjc
Nimbostratus
Feb 11, 2008Hey, this is VERY helpful.
But not quite what the doctor order for my case of improper returnURLitus.
In my case, I have an SSO product that is mangling the original URL on redirect to login from an SSL frontend. Both servers are fronted by the BigIP, both running SSL on the BigIP.
So client requests https://serv1:443/page
The SSO webagent looks at the authentication headers and redirects to login page on https://serv2:443/login?encoded_original_urlhttp://serv1/page
The encoded URL now says "http" instead of "https" because the agent does not understand he is "https" on the front end.
So after successful login the client is redirected back to his original URL sans the little secure "S" in the scheme of the URL, i.e. http://serv1:443/page
But I do have unsecure port 80 pages on serv1, so this example would rewrite everything unsecure to secure and that's not quite what I need.
Can I check the Location's port for 443 and then replace "http://" with "https://" instead of checking clientside port for 443?
Or is there any easier way to make my virtual server on the BigIP listen to non-ssl and ssl on 443 and redirect the non-ssl requests to ssl?
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