Forum Discussion
mj16othman
Dec 12, 2022Altostratus
Hiding URL
Guys i need help I have users when they type in lets say https://oli.test.com the client browser displays https://oli.test.com/mortgage/default.aspx?clientid=1021. I basically want to hi...
Omar2
Dec 13, 2022Cirrus
Hello,
you can try this if you want to specify this hostname "oli.test.com" and the rest of the URL "/mortgage/default.aspx?clientid=1021".
This to avoid if there is another hostname and also the rest of the URL starts with /mortgage and you don't need in this case to delete the rest of the URL
when HTTP_REQUEST {
if {([HTTP::host] equals "oli.test.com") and ([HTTP::uri] starts_with "/mortgage")}{
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