Forum Discussion
Mazen2006_14317
Nimbostratus
Mar 26, 2014irule redirect to maintenance page
Hello,
I need to redirect traffic to a maintenance html page on an external server. How can i call the page in my irule.
Note that the node that host my maintenance page is on partition CLI03_INTE of my ltm and the VS that use the redirect irule is on partition CLI01_COPROD
node hosting maintenance html page: cnlvip-fe-media.ext1.cdn 172.19.224.244%3 on partition CLI03_INTE
uri: /media_cpa/sfr/cpprospect/maintenence/maintenance.html and
/media_cpa/sfr/cpprospect/maintenence/maintenance.jpg
here's the irule i wrote:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/necpf/vod-i1-64/cpprospect/" } {
HTTP::redirect "http:// ????
}
}
3 Replies
- JRahm_128324Historic F5 Accountcan you clarify the circumstances in which the maintenance page will trigger, and what the URL needs to be when sent to the maintenance node? Just FYI, you can store an html, image, css, and/or javascript file on the BIG-IP in iFiles and host the maintenance page locally in an iRule.
- Mazen2006_14317
Nimbostratus
The need is to redirect the traffic to a page html on an external server when uri starts with /necpf/vod/cpprospect/. - Mazen2006_14317
Nimbostratus
The need is to redirect the traffic to a page html on an external server when uri starts with /necpf/vod/cpprospect/.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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