Forum Discussion
adrian_171483
Cirrus
Mar 11, 2015https matching
Hi,
I have an issue where we are re-directing http > https and adding some extra lines to a URI on the port re-direct.
When we target the Virtual server directly on HTTPS the re-direct is...
nitass
Employee
Mar 11, 2015i think you do not need /something/something/* pattern because it will match default pattern anyway.
when HTTP_REQUEST {
switch -- [string tolower [HTTP::uri]] {
"/" {
HTTP::redirect "https://[getfield [HTTP::host] ":" 1]/something/something"
return
}
default {
pool mysite-pool
}
}
}
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