Forum Discussion

VMed_190513's avatar
VMed_190513
Icon for Nimbostratus rankNimbostratus
Oct 22, 2015

Holding page that pops up for 30 seconds

Hi all, I'm just wondering if anyone has come up with an irule that shows a holding page for a finite period of time? We're moving URLs and I'd like a holding page that warns customers that the URL is changing but then disappears and lets them carry on to the site. There also needs to be a clciky button to let them skip the timer.

 

Many thanks :)

 

6 Replies

  • You just need to write your html for the response to have the button you want and a meta redirect in the head section of the html. i.e.

    • Brad_Parker_139's avatar
      Brad_Parker_139
      Icon for Nacreous rankNacreous
      you will be using HTTP::respond in the irule, https://clouddocs.f5.com/api/irules/HTTP__respond.html
  • You just need to write your html for the response to have the button you want and a meta redirect in the head section of the html. i.e.

  • What you need to do is to make the iRule respond with some HTML content that the browser will handle in the fashion you describe. Here's a really simple example:

    when HTTP_REQUEST {
       HTTP::respond 200 content {
          
          
             
                
                
             
             
                The page has moved to:
                this page
             
          
       }
    }