Forum Discussion
https matching
How does this look ? match http request if you only have the hostname so "/" would redirect to Https with the /something/something
if you already have the /something/something you drop to the default pool.
this would be applied to the Https Virtual Server
when HTTP_REQUEST { switch -glob -- [string tolower [HTTP::uri]] { "/" { HTTP::redirect https://[getfield [HTTP::host] ":" 1]/something/something return } "/something/something/*" 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
* 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