Forum Discussion
yoch_350532
Nimbostratus
7 years agoRedirection for https://www.
Hi i applied the below rule for redirection but not working for https://www.oasiscard.co.uk
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] eq ";} {
HTTP::respond 301 Location ";
}
} ...
Lee_Sutcliffe
Nacreous
7 years agoYou don't need to use semicolons and you can redirect with the HTTP::redirect command. This could also be done as part of an LTM traffic policy
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] eq "www.oasiscard.co.uk"} {
HTTP::redirect "https://myoasiscard.co.uk/"
}
}
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