Hotspot Re-direct

I have the hotspot setup on my AP, but I don’t want the login page to appear. I want the person to be re-directed to my website, and be allowed to look at all of the webpages on my domain. I assume that I can use the walled garden to allow only my pages. What I can’t figure out is how to send them to my homepage instead of the login page.

change the login page html to be a redirect.
as simple as it can get… :slight_smile:


SMA

How?

Something like this should do it…

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
        <title>Redirecting... Just one moment...</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <meta http-equiv="Refresh" content="0;URL=http://www.your-website-here.com">
</head>
<body>

<p>Just a moment - we are redirecting you to our homepage...</p>

</body>
</html>

Remember to substitute the correct URL for the “http://www.your-website-here.com” in the HTML header…

Best regards,
Christian Meis

The redirect works great, but for some reason the websites I am sending them to will not show up. All you get is an IE page saying this page can’t be displayed. Here is my walled garden setup - am I missing something here, or is there something else I need to setup besides the walled garden? Any ideas?

[magicwisp@MagicWISPMT2] ip hotspot walled-garden> print
Flags: X - disabled, D - dynamic
0 server=hs-MT22.4-1 dst-host=mysite.com path=http://www.mysite.com/
action=allow

Any ideas on what I am doing wrong?

Perhaps the dst-host should be “www.mysite.com”, too? Depending on your server config…

Christian

That wasn’t the problem. Still getting the IE can’t be displayed page.

Hmmm. How is your webserver set up?
Is this a HTTP/1.1 hosting (i.e. several virtual hosts with different names using only one ip address)? Then you should try a seperate virtual server with a dedicated ip address - perhaps this helps…

Christian

Path is only a path on specific server and not a complete url. Leave empty for
any path.
Dst-host must match whole hostname. Use wildcard to accept any prefix:

/ip hotspot walled-garden set 0 dst-host=“*.mysite.com” path=“”

Still no change. I made the change that normis talked about, but it still won’t redirect. I am about to the point of giving up.

Set the walled garden IP List entry for the IP Address of the server you are redirecting to. I have been looking at this HS stuff for about an hour now and redirect works just fine I just need to config it to allow me to connect to Radius and to our CC Gateway.