Forum Discussion
Parveez_70209
Nimbostratus
Mar 07, 2014Maintenance Page Was Not Functioning Correctly : Sub-Pages Shows 404 Error
Hi,
We observed that the maintenance page was not functioning correctly with Sub-pages and showing 404 error.
Actual-URL: https://www.test.com/
URL With sub-URL: https://www.test.com/portal...
Mar 08, 2014
Hi Parveez!
Reformatting the rule to make it readable. 🙂
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/" } {
node 10.10.10.10 80
} else {
pool maintenance_page
}
}
This rule would send all users for all requests that starts with "/" to node 10.10.10.10:80. Problem is that it would do so, no matter the state of the pool members and for all request (ie, website.com/PROD" start with "/" and so does "website.com/"). I don't believe there even is such a thing as a uri that does not start with "/".
The maintenance pool would never be used because the condition before it would always be true.
/Patrik
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