Zonedirector Hotspot login redirect not working

  • 1
  • Question
  • Updated 4 weeks ago
Hi,

I set-up a Hotspot service ( WISPR ) in order to redirect our users to a custom "login" page:

<html>
<head><title>Wireless InternetService</title></head>
<body>
<center>
<br><h2>Wireless Internet
Service</h2><br/>
<form method=POST action="http://93.xxx.xxx.xxx:9997/login">;
<input type="hidden" name="username"
value="test_user">
<input type="hidden" name="password"
value="test_pass">
<input type="submit" value="Accept Terms
& Conditions">
</form>
</center>
</body>
</html>

I do have a problem, when a user connects it is not redirected to this page, instead it is redirected to the login page of the zonedirector ( https://93.xxx.xxx.xxx/admin/login.jsp )

Do you have any idee why is this happening ?

Thanks!
Photo of Mihail Tudoran

Mihail Tudoran

  • 19 Posts
  • 0 Reply Likes

Posted 4 weeks ago

  • 1
Photo of Shaun Van Tonder

Shaun Van Tonder

  • 24 Posts
  • 1 Reply Like

Hi.


I had the same issue. What I did was to first direct them to my custom HTML page and once they click accept it takes them back to the ZONE director login Portal.

The redirect function doesn't work for me.

So my HTML page has a redirect.


The easiest way for me to get it to work was to put my HTML page on a windows Server in IIS and first send users to that page. The acceptance button then redirects to:


form method=POST action="https://Your-ZoneDirectorURL/user/user_login_auth.jsp";
<input type="hidden" name="username" value="user1">
<input type="hidden" name="password" value="user1">
<input type="submit" value="Accept Terms & Conditions">
</form>
</center>
</body>
</html>


Hope this makes sense.


Regards,

Shaun

(Edited)
Photo of Mihail Tudoran

Mihail Tudoran

  • 19 Posts
  • 0 Reply Likes
Hi Shaun,

The problem I have is that the redirect doesn't work at all.
The users never get redirect to the page I put inside Hotspot services under the Login page. Instead all users get redirected to the zonedirector IP, not the page I entered there.

Thanks!
Photo of Shaun Van Tonder

Shaun Van Tonder

  • 24 Posts
  • 1 Reply Like

Ok that's very interesting. I found that the actual redirect page underneath doesn't function for me no matter what I do.


Try the normal hostpot service - not the 2.0 one and see how that goes.


Regards,

Shaun

(Edited)
Photo of Mihail Tudoran

Mihail Tudoran

  • 19 Posts
  • 0 Reply Likes
This is allready setup as Hotspot service (v1), never tried V2.

This is very strange, because the user gets redirected to the zonedirector admin page login, not the URL I put into Hotspot service login page.
Photo of Shaun Van Tonder

Shaun Van Tonder

  • 24 Posts
  • 1 Reply Like

Try and upgrade the firmware. We have a Zone Director 1200 Series.


The firmware we are running on is: 9.12.3.0 build 61

Photo of Jeronimo

Jeronimo

  • 109 Posts
  • 13 Reply Likes
Do you config guest access mode?
Photo of Mihail Tudoran

Mihail Tudoran

  • 19 Posts
  • 0 Reply Likes
Hi,

Now it's working... it proved to be a BUG... I delete the hotsport service, add it again and now it's working. Also in zonedirector log file I did see something like: GuestService Conf error.

Thanks !