Forum Discussion
Dineshsankar_31
Altostratus
Aug 09, 2017https to https FQDN redirection
What is the irule for redirecting to https://abc.global.com, i tried below i rule but it doesn't help my requirement.
1.
when HTTP_REQUEST {
if { [HTTP::host] contains "abc" } {
HTT...
jaikumar_f5
Noctilucent
Aug 09, 2017Can you give this a try, you may also should look at DNS suffixes option. That would be lot easier.
when HTTP_REQUEST {
set URI [string tolower [HTTP::uri]]
{
HTTP::respond 301 Location "https://abc.global.com$URI"
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