Forum Discussion
Maintenance page irule was not working properly
Hi Iaine ,
i have used below irule syntax but it's not displaying the Maintenance Page properly . when we accessed with FDQN it is working fine.
when LB_FAILED {
if {[active_members [LB::server pool]] <1} {
LB::reselect pool Axisconnect-uat2_Redirect_SplashPage
HTTP::uri "/"
}
}
https://axisconnect-uat2.axiscapital.com - working
https://axisconnect-uat2.axiscapital.com/agencyportal/DisplayHomePage - Not working
Thanks
Prasaath D
- gersbahOct 31, 2019Cirrostratus
You need a condition to exclude all resources of the maintenance page itself from the rewrite action. e.g.:
if { not ( [HTTP::uri] starts_with "/maintenance/" ) }{
HTTP::uri "/"
}
Or more If your maintenance page doesn't have all css, js, images, etc. neatly in one folder.
Recent Discussions
Related Content
* 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