Forum Discussion
Corey_Webb_9791
Nimbostratus
Dec 18, 2007Redirect HTTP to HTTPS without using HTTP_REQUEST trigger
I need to redirect traffic that comes to my VIP as http:\\x.y.z to https:\\x.y.z however since there is no actual HTTP_REQUEST triggered when the request comes in as http I need to trigger this redire...
Corey_Webb_9791
Nimbostratus
Dec 18, 2007Here is how is looked in Version 4
if (server_port == 80) {
if (http_uri contains "IDHAN" or http_uri contains "idhan") {
redirect to "https://%h/%u"
}
else {
if (http_uri contains "HanHelp" or http_uri contains "hanhelp") {
use pool Health-DVLP
}
else {
discard
}
}
}
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