cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2373
Views
0
Helpful
6
Replies

External Web Authentication Redirect..

Shane Riley
Level 1
Level 1

                   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

1 Accepted Solution

Accepted Solutions

Stephen Rodriguez
Cisco Employee
Cisco Employee

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

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

View solution in original post

6 Replies 6

Stephen Rodriguez
Cisco Employee
Cisco Employee

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

HTH,
Steve

------------------------------------------------------------------------------------------------
Please remember to rate useful posts, and mark questions as answered

Thanks for your help Stephen

Now its working perfectly

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

   

   

   

   

https://209.165.200.225/login.html">

   

   

   

   

   

   

   

   

   

   

   

   

       

   

   

   

   

   

   

   

Nom d'utilisateur 
 

Mot de passe 
 

   

   

   

   

I have found this code in cisco, I just added the previous javascript.

Can anybody help me ?

Heey,

Try and change

https://209.165.200.225/login.html

With

https://1.1.1.1/login.html">

/Shane    

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.

You are very welcome

/Shane

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: