Forum Discussion
Dave_Pisarek
Nov 14, 2021Cirrus
Root domain redirect that ignores uris
I have an interesting ask and I am guessing this has been asked before but not finding an answer. A customer wants to protect a root domain page by not allowing clients to connect to it but does not ...
spalande
Nov 15, 2021Nacreous
Yes, this has been answered many times. You can use something like below.
when HTTP_REQUEST {
if {[HTTP::uri] equals "/"} {
HTTP::respond 301 Location "https://hired.com"
return
}
}
Please note, this would need modification if you have any further custom requirement.
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