Is there a HTML guidline for programming external captive portals on NXC2500?
All Replies
-
Hi @MKN
We do not have guidline about how to revise external html. If you just want to edit the logo and the font, we suggest you to use our internal captive portal.
Go to CONFGURATION > Captive Portal > Custom Cpative Portal > CUstomized page, and add a new page.
You can upload a pic and revise the message here. There is also advanced settings to let you customize your own captive portal.
Hope it helps.
Joslyn0 -
Hi Zyxel_Joslyn,thank you for your answer.Unfortunatelly I need to do more than just change the Logo or Background.I have to write a own external Captive Portal in HTML / JS to show some additional dynamically generated informations about our company to our guests.A big problem is to understand the request and replies of cgi on the NXC.Maybe someone had similar projects or some informations for me.Thank you0
-
Hi @MKN
We have a user guide to customize page of multiple captive portal. It mentioned some cgi explanation.
Hope it helps.
Joslyn0 -
Hi, Joslyn,thank you, that guide is very good.But still got some trouble.My main problem is to check if a user is allready logged in and if so, redirect to another page.Also my session page shows alway no values...Any Ideas?Thank you!MKN0
-
Hi @MKN
Can you share with me your login authentication will be combined with the third-party server or it's your own web server?
Did the station see the login page?
Joslyn0 -
Hi @Zyxel_Joslyn,all files are on our own web server in our LAN.Yes, the station can see the login page.When users had already logged in and reload the login page, they should be redirected to another page (welcome or session)...MKN0
-
Hi @MKN
Please use the browser and open the URL as the Http://<web server IP address>/<web page> to ensure if every page can be downloaded successfully.
If yes, you might need to modify the redirect link.
If no, please check the web page content.
Joslyn0 -
Hi, Joslyn,all pages are fine.I just need some commands to send to the controller to get a feedback if the user is already logged in.Something like sending a request to http://[controllerip]/[some cgi].cgi?[some variable]=[some value]and get a response.Is there any option to do so?
0 -
Hi @MKN
Provide an example for you.
http(s)://external_html?apmac=aa:bb:cc:dd:ee:ff&usermac=aa:11:bb:22:cc:33&apip=192.168.1.35&userip=192.168.1.37&ssid_name=MySSID&apurl=http://192.168.1.35/cgi-bin/login.cgi
It still depends on your server needs what kind of the format.
This should be discussed about the server scope.
Joslyn0 -
In my understanding, the Controller won't supply for any login-user inquiries through html. You can only check login user through SSH connection or web GUI.
By the way, is there any web front end engineer to help you digest the html file? Just think there should have been lots of discussions and approaches for this redirect+authentication case...
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 74 Security Highlight