Forum Discussion
Mike_Pones_6391
Nimbostratus
Jul 21, 2005HTTPS Redirect
I think I have this correct but I just wanted to make sure.
I have a requirement that when a request comes in on port 80 (http) with "ecommerce" in the URL it should be redirected to the same URL but on port 443 (https). Does this look right:
if (http_uri contains "ecommerce") {
redirect to "https://%h:443/%u/"
}
else {
use pool http_pool
}
Thanks is advance,
Mike
- Martin_MachacekHistoric F5 AccountMike,
- Mike_Pones_6391
Nimbostratus
Thanks mmac, I did not think I needed the :443 but was not sure. The example in the book showed it.
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