Forum Discussion
Arun_Bhardwaj_1
Cirrus
Mar 11, 2015URL redirtion not happning through Irule.
Hi All,
I am using simple Irule to redirect Url.
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "abc.com" } {
HTTP::redirect "https://abc.com/welcome/do"
}
}...
Arie
Altostratus
Mar 12, 2015Something else you may want to consider (not related to the problem) is using a 301 instead of a 302.
Instead of
HTTP::redirect "https://abc.com/welcome/do"
I would recommend
HTTP::respond 301 Location "https://abc.com/welcome/do"
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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