Forum Discussion
Samir
MVP
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"
}
SubratDash
Oct 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.