21 January 2011

Redirect hotspot to external web page

The simplest way to do this would be to edit the login.htm file and replace with the following..

<form name="redirect" action="https://site/page.php" 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)">
<script language="JavaScript">

Don't forget to add site to walled garden!

No comments:

Post a Comment