Following the examples at http://www.mikrotik.com/testdocs/ros/2.9/ip/hotspot.php
I have successfully redirected the authentication to another server but when I try to sent it back it the browser says page cannot be displayed.
The browser show https://10.5.48.1/login
<form name="login" action="https://10.5.48.1/login" method="post">
<font face="Arial"><font size="2">First Name </font> <input type="text" name="First Name" value="" /><font size="2"><br />
Last Name </font> <input type="text" name="Last Name" value="" /><font size="2"><br />
Email Address </font> <input type="text" name="email" value="" /><font size="2"><br />
<br />
By clicking on the I Agree! button below you signify you have read<br />
and agree to the terms and conditions for this hotspot.</font></font><br />
<input type="hidden" name="password" value="***" /><br />
<input type="hidden" name="username" value="***" />
<input type="hidden" name="dst" value="http://www.mikrotik.com/" /> <input type="submit" name="login" value="I Agree!" />
</form>
When I change the action to http://10.5.48.1/ it comes right back to the authentication server.
Here is my login.html page redirecting to the other server
<html>
<title>...</title>
<body>
<form name="redirect" action="http://69.28.32.6/?q=node/182" method="post">
<input type="hidden" name="mac" value="$(mac)">
<input type="hidden" name="ip" value="$(ip)">
<input type="hidden" name="user" value="$(username)">
<input type="hidden" name="link-login" value="$(link-login)">
<input type="hidden" name="link-orig" value="$(link-orig)">
<input type="hidden" name="error" value="$(error)">
</form>
<script language="JavaScript">
<!--
document.redirect.submit();
//-->
</script>
</body>
</html>
Was there something in the instructions that I missed or do not comprehend?
Was I supposed to use the redirect.html? If so how do I get the Hotspot to use it and not login.html?
Then what do I program in the login.html to authenticate the user without any more input?
Kinda pressed for time - Boss wants the Hotspot tested and in service Monday : )
Thanks in advance