Community discussions

User avatar
just joined
Topic Author
Posts: 9
Joined: Wed Jan 31, 2018 3:46 am

Virtual Hostname

Wed May 02, 2018 8:58 am

Hi Everyone,

I hope someone can help me with my issue.

I have a hotspot, lets say its login page is$(server-name)&client_mac=$(mac)&client_ip=$(ip)&userurl=$(link-orig)&login_url=$(link-login-only)&error=$(error)$(endif)

Below is the rlogin.hml
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<title>Wifi Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="-1" />
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;"/>


}$(if http-status == 302)Hotspot login required$(endif)
$(if http-header == "Location") ... r)$(endif)


function getUrlVars() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
vars[key] = value;
return vars;


I Would like to know if its possible to hide the Login URL for example I can use a virtual hostname instead of

Who is online

Users browsing this forum: No registered users and 6 guests