we are migrating services from one server to another in few weeks time, so we want put a splash page to display for 15secs saying “services will be migrated from here” and then redirect to the service URL. how to achieve that with a iRule ?
This old post should help you, DevCentral - An F5 Technical Community
hmm not really. what we are trying to achieve here is, current service is getting migrated to new location(URL) in few weeks time.
at the moment, URL https:/xxx.com/Service is going to Pool : AAAA we want to create a iRule, so that when a user access the current URL it display a splash page says “this service will be migrated over to https://yyyy.com/Service in few weeks” for 15 secs and then redirect to Pool:AAAA.
just have to irule return (with HTTP::respond for example) a small webpage which includes:
http://www.example.com/404.html’" />
so that after 3 seconds (in this case) the page services to the next page.