Forum Discussion
Derrick_85757
Nimbostratus
Feb 12, 2009Virtual Server port 443 to port 5307 redirection
I have a client requesting that all requests to virtual server w.x.y.z:443 get redirected to w.x.y.z:5307. I am familiar with http to https redirection but not quite sure how to do the iRule for this...
dennypayne
Employee
Feb 12, 2009You will have to do SSL offload to be able to do an HTTP redirect; if you are not decrypting at the LTM then you will not be able to invoke the HTTP_REQUEST event in a rule.
But if you are doing SSL offload the rule should be simple:
when HTTP_REQUEST {
HTTP::redirect "https://w.x.y.z:5307"
}
EDIT: The redirect could be https:// or http:// depending on what's required for 5307
Denny
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
