Forum Discussion
Tyson_James
Jun 05, 2020Cirrus
Redirect to another URL after timeout detected
Is there a way for a BIG-IP to display a message such as “This site has moved, please note the new URL." and then redirect to the new page in 10 seconds.
Samir
Jun 07, 2020MVP
Not tested so far. Can you write iRule something like this. Try and let us know if any question
when HTTP_REQUEST {
set expires "10000"
HTTP::respond 200 content "Sorry, this page is not currently available."; Max-Age=$expires"
HTTP::redirect "https://www.xyz.com"
}
- SubratDashOct 10, 2020Nimbostratus
Hi Samir,
I tried with this IRule but it
not working for me, I can see the message but after that redirection is not
working.
One of our URL is getting retired and getting replaced with new one. So when any user trying to access old url, it should display a message for 5 seconds to users that its retired and redirect to new URL.
Can you please help on this.
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