Forum Discussion
Hien_Truong
Jun 30, 2021Cirrus
Redirect single URL (hostname) only.
i need to redirect single (none wildcard) from www.abc.com to def.ghk.lmn.com This is a single URL. Please do not redirect any traffic for sub folders or other URLs in the domain. My below irule is...
- Jun 30, 2021
your irule works perfectly. I appreciate your input and thanks for your support.
spalande
Jun 30, 2021Nacreous
Alternatively,
when HTTP_REQUEST {
if {([string tolower [HTTP::host]] eq "www.abc.com") and ( [HTTP::uri] eq "/" ) }{
HTTP::respond 301 Location "https://def.ghk.lmn.com"
return
}
}
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