Forum Discussion

Gill_32697's avatar
Gill_32697
Icon for Nimbostratus rankNimbostratus
May 27, 2015

basic maintenance redirect

cant get this redirect to work for a maintenance page. If client connects to virtual redirect here...what am i missing? when HTTP_REQUEST { HTTP::redirect "https://b-testsite.mycomp.com/outage.html" }

 

3 Replies

  • Josiah_39459's avatar
    Josiah_39459
    Historic F5 Account

    That syntax is valid. What do you mean by not working? Is the rule attached to the vip? Does the vip have a http profile? Keep in mind, irules will only execute for new connections. So if a client is currently connected, that irule will not fire.

     

  • Yes vip has http profile. iRule stats show hits, http watch cap show the redirect, but looks like it loops then times out. i keep seeing the same redirect appended.

     

  • i think there is a problem with the page. i tried an old sorry maintenance and it works. i the the web team needs to fix...