irule for URL redirection and response content patience page
Dear Team, We have a URL which was decommissioned. However we didnt want to inform the users regarding the change of URL since it is kept as favourite for entire users.
DNS entry for decommisioned website was abc-uat-int.domain.ae DNS entry for new New website is pointed to abc-uat.domain.ae
so we created a Irule for URL redirection from abc-uat-int.domain.ae to abc-uat.domain.ae
Step 1: In the HTTP Virtual IP of old website abc-uat-int.domain.ae , We configured Irule as below: when HTTP_REQUEST { HTTP::redirect "https://abc-uat.domain.ae[HTTP::uri]" } Now redirection is happening properly as desired. However our requirement is, whenever user try to enter the old URL abc-uat-int.domain.ae, they should get a website patience page for 5 secs with an message Respond header should give message before the URL gets redirected from abc-uat-int.domain.ae to abc-uat.domain.ae "We are sorry, but the site you are looking for has been moved on https://abc-uat.domain.ae."
Please do the needful as i am not really sure of how to write irules for website respond content messages.
Thanks, Vish