Captive portal


#1

Hi,

I created a splash page and add to IIS. If I connect directly to the url I received the web page.
But, once I connected the wifi the browser try to redirect then opened with a web page ‘405- HTTP verb used to access this page is not allowed’.

here is the html code:

<html>
<head>
<title>welcome WiFi</title>
<meta http-equiv=“X-UA-Compatible” content=“IE=edge,chrome=1” />
<style>
.Agree{
background-image:url(“1.png”);
background-repeat:no-repeat;
width:116px;
height:116px;
cursor:pointer;
background-color:transparent;
border:none;
}
</style>
</head>

<body style=“background-color: #03296A; margin: 0; padding: 0;”>
<form id=“FormTest” method=“post” action=“https://captive-portal.peplink.com/portal.cgi” >
<input type=‘hidden’ name=‘command’ value=‘login’>
<input type=‘hidden’ name=‘orig_url’ value=‘http://www.test.com/’>
<div style=“position:relative; z-index:0; width:100%;” align=“center”>
<img src=“pic_2.jpg” alt="" style=“border:0px solid red; z-index:0;”/>
</div>
<div align=“center” style=“border:0px solid red;float: none; width: 100%; z-index:0; position: relative; background-color: #03296A;”>
<input type=‘submit’ value=’’ class=‘Agree’ />
</div>
<div style=“float: none; width: 100%; z-index:0; position: relative; height: 15px; background-color: #03296A;”> </div>
</form>
</body>
</html>

Thanks for your help


#2

Hi Sharon,

You may need to refer to here to configure an External Splash Page for Captive Portal. The required attributes also included here.