Forum Discussion

Sunny_V_134904's avatar
Sunny_V_134904
Icon for Nimbostratus rankNimbostratus
Oct 03, 2013

How can i achieve , pause for 10 secs before redirecting to a URL

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 ?

 

3 Replies

  • This old post should help you, https://devcentral.f5.com/community/group/aft/1176454/asg/50

     

  • 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.