Im not a programmer but here is what i understand is the problem, f5 support say i need a irule and directed me to this site. I hope my explanation makes sense, here is what is happening
1. A Users comes in on an SSL Connection
2. BigIP offloads(terminates) the SSL, and sends the request onto the IIS server in Plain Text
3. The IIS server than passes the plain text request onto the backend JBoss application server
4. The JBoss server handles the request, and generates a redirect URL that will be sent back to the user. Since JBoss thinks the request came in on plain text, it generates the redirect URL to a plaintext site. (since the session is in SSL, the redirect will be handed back to the user in the SSL session, but redirect to a normal 80 session when it hits the user…so the BigIP DOES handle the SSL session properly from start to finish, but the URL being redirected to is coded to point at a HTTP session).
So it seems i need a redirect the rewriets the URI’s to https. Does this makes sense? can someone help me with a irule for it?
I believe the big up has a rewrite redirect in the http profile and i have tried that but im told it redirects (3xx) resonses only and i think mine are 4xx responses.
thank you for the help