Forum Discussion
Dayton_Gray_103
Nimbostratus
Oct 29, 2008Custom 404 passthrough question.
I have the following iRule in place:
when HTTP_REQUEST {
if { [HTTP::uri] contains "pagenotfound.html" } {
event disable all
}
}
when HTTP_RESPONSE {
if { [HTTP::statu...
hoolio
Cirrostratus
Oct 31, 2008Hi Byzandula,
It would be relatively simple to do this if you wanted to respond from the rule with the HTML content for pagenotfound.html. You could do this following the maintenance page codeshare example:
LTM Maintenance Page (Click here)
Else, if you wanted to get the content from a maintenance server pool, you could follow this example:
Using LB_FAILED and change the URI w/o 302 (Click here)
Aaron
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