Last active
October 15, 2024 09:54
-
-
Save malle-pietje/c030e9d6ccdc1c3ddfdfc4363ba79489 to your computer and use it in GitHub Desktop.
Redirection to a custom URL from the UniFi controller JSP-based captive portal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr"> | |
<head> | |
<title><unifi txt="Redirector" /></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<meta http-equiv="refresh" content="0;url=https://<YOUR CAPTIVE PORTAL URL>/<unifi var="mac" />/<unifi var="ap_mac" />"> | |
</head> | |
<body> | |
</body> | |
</html> |
Yes, that is correct. Here’s a first post on the Ubiquiti community where this topic is discussed:
https://community.ui.com/questions/Guest-portal-customization-html-css-with-the-new-UI-how-to-enable/81565820-50e2-4e6e-8bc6-b7c16877cb9a#answer/df1c3b80-6edd-4f75-a235-912f78afb994
Hi, Is today any way to implement this on the Angular constructor?
I need to redirect to my Cisco ISE guest portal, and i think this is the only way.
thank you in advnace.
BR.
Hi, Is today any way to implement this on the Angular constructor?
I need to redirect to my Cisco ISE guest portal, and i think this is the only way.
thank you in advnace.
BR.
AFAIK you can no longer modify the raw source-code of the captive portal unless someone else can confirm otherwise.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI legacy hotspot seems to be completely gone from Network 8.0.24, only the Angular seems to be left