Forum Discussion
url redirection with SSL offload
The problem you have is that when doing SSL offloading, the server only sees an HTTP request.
First, you need to change the redirect to use SSL, using an iRule in the virtual server you already have.
Second, you need to create a virtual server to handle the authentication and redirect. You do SSL offloading in this virtual server as well, but you need to rewrite the redirect to point to the first virtual server.
You can use a iRule similar with this one in both case:
when HTTP_RESPONSE {
if { [HTTP::status] == 302 && [HTTP::header "Location"] equals "......" } {
HTTP::redirect "https://.../"
}
}
You need to check how your application do the first (for authentication) and second (after authentication) redirects, and change to iRule to match that.
More examples in these links:
https://devcentral.f5.com/wiki/irules.http__status.ashx
Recent Discussions
Related Content
* 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