Forum Discussion
cvitale_103614
Nimbostratus
Feb 08, 2009Redirecting https request
Hello,
Setting up a single BigIP 1600 for a client. Fairly unfamiliar with BigIP and need some help with a client request.
Client wants to redirect incoming request from HTTPS://XYZ....
The_Bhattman
Nimbostratus
Feb 09, 2009Here is an untested example that depicts what you are trying to do, which is HTTPS to HTTPS redirects
when HTTP_REQUEST {
if { ([TCP::local_port] == 443) && ([HTTP::host] equals "XYZ.XYZ.ORG") } {
HTTP::respond 301 Location "HTTPS://XYZ.XYZ/xlWebApp/"
pool vs_app_server
}
}
NOTE: MAke sure you have a valid cert that pics up XYZ.XYZ. Otherwise you will get that annoying invalid cert message when you are being redirected
Hope this helps
CB
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