Forum Discussion
kdruet_49820
Nimbostratus
Feb 15, 2019Filter / rewrite https request
unsure of the best practice to approach this, but - I need to do somthing like this (obviously this doesnt work, its just what I was thinking.
in a nutshell, I dont want the tomcat manager uri to work for hosts who connect via the F5 - I use an out of band network to reach the farm directly so dont require access to /manager via LTM
when HTTPS_REQUEST {
if { [HTTPS::host] equals "joespizza.org/SecretManagerURL" }
{
redirect to "https://www.joespizza.org"
}
}
- jaikumar_f5
Noctilucent
Here, hope it helps,
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] starts_with "/SecretManagerURL" } { HTTP::redirect "https://[HTTP::host]" } }
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