Forum Discussion
Sajid
Cirrostratus
Jun 10, 2008Redirect to Reponse Page on virtual server or monitoring port Down
Hi Guys
i am iRule for the following requirement.
"Redirect to Reponse Page on virtual server or monitoring port Down"
If VS is down, iRule should automatically to response page or URL.
Thanks
Sajid
- Andy_Herrman_22
Nimbostratus
You could probably handle the LB_FAILED event and use HTTP::respond to send a custom page back the client. - hoolio
Cirrostratus
There is a known issue with using HTTP::redirect from the LB_FAILED event in some LTM versions: - Sajid
Cirrostratus
Hello Guys - hoolio
Cirrostratus
You could get the same functionality as that rule without a rule by configuring a fallback host of http://my.domain.com/maintenance.html in the HTTP profile associated with the VIP. For details on this, you can click the online help tab in the GUI when you're viewing the HTTP profile, or check AskF5.com. - brad_11480
Nimbostratus
I don't want to perform a redirect and want to retain the callers URL intact so I have a 'sorry server' pool of servers. My irule that seesms to work is: - hoolio
Cirrostratus
Hi, - brad_11480
Nimbostratus
Most excellent! This is slick and simple:
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects