12-12-2012 07:34 AM - edited 07-03-2021 11:13 PM
Hey folks!
Need some help, have some issues when configuring External (redirect to external Server)
When i connect to the WLAN SSID GUEST the web authentication login page from the external webserver pops up fine.
Then when i enter the username and password and press submit nothing happens?
Heres the html code on the external web server..Maybe i missed something?
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" content="Your Name" />
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<title>Web Authentication</title>
<style>
body {
background-color: #ffffff;
}
#container {
width: 940px;
margin: 0 auto;
}
input[type="text"] {
border: 3px solid #990066;
background: #ffffff;
color:#990066;
}
input[type="password"] {
border: 3px solid #990066;
background: #ffffff;
color:#990066;
}
input[type="submit"] {
border: none;
background: transparent;
color:#990066;
}
input[type="submit"]:hover {
border: thin #999999 outset;
filter:alpha(opacity=50);-moz-opacity:.5;opacity:.5;
background: #FFFFFF;
color: #000000;
}
input[type="submit"]:focus {
border: thin #000000 solid;
background: #FFFFFF;
color: #000000;
}
input[type="submit"]:focus:hover {
border: thin #000000 solid;
filter:alpha(opacity=100);-moz-opacity:1;opacity:1;
background: #FFFFFF;
color: #000000;
}
input[type="reset"] {
border: none;
background: transparent;
color:#990066;
}
input[type="reset"]:hover {
border: thin #999999 outset;
filter:alpha(opacity=50);-moz-opacity:.5;opacity:.5;
background: #FFFFFF;
color: #000000;
}
input[type="reset"]:focus {
border: thin #000000 solid;
background: #FFFFFF;
color: #000000;
}
input[type="reset"]:focus:hover {
border: thin #000000 solid;
filter:alpha(opacity=100);-moz-opacity:1;opacity:1;
background: #FFFFFF;
color: #000000;
}
#text {
font-family:arial;
font-size:14px;
}
#box {
position: relative;
width: 35%;
height: 30%;
left: 36%;
top: 40%;
}
#header {
border-radius: 3px;
}
h2 {
text-align: center;
{
</style>
</head>
<body>
<div id="container">
<div id="header">
<img src="header.jpg">
</div>
<h2> WEB AUTHENTICATION</h2>
<div id="box">
<form method="POST" action="/login.html">
<table>
<tr>
<td align="right"><p id="text">Användarnamn:</p></td>
<td align="left">
<input type="text" name="username">
</td>
</tr>
<tr>
<td align="right"><p id="text">Lösenord:</p></td>
<td align="left"><input type="password" name="password" emweb_type=PASSWORD autocomplete="off" EMWEB_TYPE=PASSWORD onKeyPress="submitOnEnter(event);" SIZE="25" MAXLENGTH="127" VALUE=""></td>
</tr>
<tr>
<td align="right"><input type="submit" value="Logga in"></td>
<td align="left"><input type="reset" value="Reset"></></td>
</tr>
</table>
</form>
</div>
</div>
</body>
</html>
Thanks for any help!
/Shane
Solved! Go to Solution.
12-12-2012 07:47 AM
not too good with this side of webauth, but IIRC there should be a java script there that has the button and sends the code back to the WLC.
You can get the example customizations for webauth in the WLC code download section of cisco.com and the attached is the script from one of the pages.
HTH,
Steve
------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered
12-12-2012 07:47 AM
not too good with this side of webauth, but IIRC there should be a java script there that has the button and sends the code back to the WLC.
You can get the example customizations for webauth in the WLC code download section of cisco.com and the attached is the script from one of the pages.
HTH,
Steve
------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered
12-19-2012 05:38 AM
Thanks for your help Stephen
Now its working perfectly
03-28-2013 01:54 AM
Hi !
I'm sorry for upping this resolved topic but I have the same problem.
When I have my redirection, the WLC add the default address before my external web server address.
When I remove this 1.1.1.1 manually, my login page make a redirection but doesn't authenticate the user.
I have followed this tuto to configure my WLC
http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008076f974.shtml
Here is my code :
Web Authentication
I have found this code in cisco, I just added the previous javascript.
Can anybody help me ?
03-28-2013 02:20 AM
Heey,
Try and change
03-28-2013 02:52 AM
Hi !
Thank you ! With that it works perfectly !
I still have the problem with 1.1.1.1 ip before my web server address but at least, it works.
Thank you again,
Julien Bertrand.
03-28-2013 02:54 AM
You are very welcome
/Shane
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide