Forum Discussion
Gary_Bristol_19
Nimbostratus
Sep 22, 2015I need to check 4 different headers and re-direct
o-zone.ou.edu > https://ozone.ou.edu
0zone.ou.edu > https://ozone.ou.edu
ouzone.ou.edu> https://ozone.ou.edu
zone.ou.edu> https://ozone.ou.edu
when HTTP_REQUEST {
if { [string tolower [HTTP::h...
Gary_Bristol_19
Nimbostratus
Sep 22, 2015when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "o-zone.ou.edu" } {
HTTP::redirect "https://ozone.ou.edu"
}
if { [string tolower [HTTP::host]] equals "0zone.ou.edu" } {
HTTP::redirect "https://ozone.ou.edu"
}
if { [string tolower [HTTP::host]] equals "ouzone.ou.edu" } {
HTTP::redirect "https://ozone.ou.edu"
}
if { [string tolower [HTTP::host]] equals "zone.ou.edu" } {
HTTP::redirect "https://ozone.ou.edu"
}
}
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