Hi Everyone,
I hope someone can help me with my issue.
I have a hotspot, lets say its login page is login.melrol.com/test?ap_mac_address=$(server-name)&client_mac=$(mac)&client_ip=$(ip)&userurl=$(link-orig)&login_url=$(link-login-only)&error=$(error)$(endif)
Below is the rlogin.hml
Wifi Login \ \ }$(if http-status == 302)Hotspot login required$(endif) $(if http-header == "Location")[https://login.melrol.com/test?ap_mac_address=$(server-name)&client_mac=$(mac)&client_ip=$(ip)&userurl=$(link-orig)&login_url=$(link-login-only)&error=$(error)$(endif)](https://login.melrol.com/test?ap_mac_address=$%28server-name%29&client_mac=$%28mac%29&client_ip=$%28ip%29&userurl=$%28link-orig%29&login_url=$%28link-login-only%29&error=$%28error%29$%28endif%29) \ \ 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 login.login.com instead of login.melrol.com