[SOLVED] Hotspot HTML Redirect
Posted: Mon Jun 13, 2011 11:28 pm
I'm trying to set up a MT hotspot for the sole purpose of redirecting new users to a web page the first time they connect to the network. The only things I have changed from the default Hotspot setup are:
1. Changed authentication from CHAP to PAP
2. Added a username "admin" with the password "temp123"
3. Changed html for login.html to:
4. Deleted alogin.html
5. Changed html for redirect.html to:
This works perfectly for one host. The second one that tries to login just seems to be stuck in a loop at login.html. Can anybody tell me what would cause this?
1. Changed authentication from CHAP to PAP
2. Added a username "admin" with the password "temp123"
3. Changed html for login.html to:
Code: Select all
<html>
<head>
<meta http-equiv="refresh" content="0; url=login?username=admin&password=temp123">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="-1">
</head>
<body>
</body>
</html>
5. Changed html for redirect.html to:
Code: Select all
<html>
<center>
<head>
<meta http-equiv="Refresh" content="3;url=http://www.example.com" />
</head>
<body>
<h1>Welcome to Example, Inc.</h1>
<h2>Please wait while you are being redirected.</h2>
<p> </p>
<p>If nothing happens within 5 seconds, please click <a href="http://www.example.com">here.</p>
</body>
</center>
</html>