Forum Discussion
Parveez_70209
Nimbostratus
Oct 31, 2014Issue facing in Maintainence Page
10.25.133.24:88 is the maintainence page server and we are binding it inside named: maintenance-Pool
Our Irule is not working when attached:
when HTTP_REQUEST {
set host [HTTP::host]
}
w...
R_Eastman_13667
Oct 31, 2014Historic F5 Account
Try this:
when HTTP_REQUEST priority 200 {
set host [HTTP::host]
}
when HTTP_RESPONSE priority 200 {
if {[HTTP::status] == 404} {
HTTP::redirect http://$host/apologies/apologies.htm
return
}
elseif {[HTTP::status] == 400} {
HTTP::redirect http://$host/apologies/apologies.htm
return
}
}
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