I already redirect to my server for authentication using a form redirect in the login.html, but if the server is not available, no one can login to the hotspot.
Can anyone tell me if there is a way they know that will let me redirect to a different webpage if the first attempt to redirect fails?
Is there a javasript syntax anyone knows of that works with the
document.redirect.submit()
or html variant to the form command which can allow for this.
Do any of you think a script on the router could tell it to ping the ip address of the server every 60 secs and if it does not respond, copy over another login.html to auto login users until the ping works again when it would copy back the normal login.html?
I realize this is not necessarily a MT OS question, but I am sure many people using MT OS as a hotspot router could also benefit from knowing the answer.