It may have worked as expected given the following from the docs:
“While in maintenance mode, Apache returns the HTML file and a 503 response code to all users whose IP does not match one of the configured allowlist regular expressions. The allowlist is to allow staff, localhost or a subset of your users access while restricting others.”
Sorry I think I create post with the wrong window and the description is not enough descriptive. it missing the most important :
If I am already authenticated, the maintenance page is displayed; otherwise, the authentication page keeps reloading until it fails due to excessive queries.
I update the original post
My understanding is : This option allow you to get acces to openondemand dashbord during the maintenance. I test it and it’s working.
But What I want is, when the maintenance is enable, the user get acces to the maintenance page. Currently they can not, because shibboleth ask for authentication to get acces and maybe due to error 503 athentication mechanism failed.