[GH-ISSUE #1279] How add a custom webpage to the portal? #1098

Open
opened 2026-02-28 01:28:31 +03:00 by kerem · 2 comments
Owner

Originally created by @AKTanara on GitHub (Aug 5, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1279

First of all thanks for the great job...

Is it possible to add a page to your library for a specific url?
I'm running SSDP Library which needs to serve a xml file like this to share UPNP info of the device in the network:
http://192.168.1.40/description.xml
I have managed to do this with a workaround:

SSDP.setHTTPPort(85);
ESP8266WebServer HTTP(85);

But it would be more pro to have this file on the same webserver that serves WiFiManager Portal in port 80 that is set to be active all the time even when successfully connected to a SAP as STA (Like described in #656) and get rid of ESP8266WebServer HTTP(85); server that is only meant to provide this XML file...

And I apologize in advance if this question is already answered and I couldn't find it there.
Regards

Originally created by @AKTanara on GitHub (Aug 5, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1279 First of all thanks for the great job... Is it possible to add a page to your library for a specific url? I'm running [SSDP Library](https://github.com/luc-github/ESP32SSDP) which needs to serve a xml file like this to share UPNP info of the device in the network: http://192.168.1.40/description.xml I have managed to do this with a workaround: ``` SSDP.setHTTPPort(85); ESP8266WebServer HTTP(85); ``` But it would be more pro to have this file on the same webserver that serves WiFiManager Portal in port 80 that is set to be active all the time even when successfully connected to a SAP as STA (Like described in #656) and get rid of `ESP8266WebServer HTTP(85);` server that is only meant to provide this XML file... And I apologize in advance if this question is already answered and I couldn't find it there. Regards
Author
Owner

@JJSlabbert commented on GitHub (Sep 4, 2021):

This will be nice. My thinking was also to run an additional webserver on another port.

<!-- gh-comment-id:913039643 --> @JJSlabbert commented on GitHub (Sep 4, 2021): This will be nice. My thinking was also to run an additional webserver on another port.
Author
Owner

@tablatronix commented on GitHub (Sep 5, 2021):

Yes see the super example

<!-- gh-comment-id:913065235 --> @tablatronix commented on GitHub (Sep 5, 2021): Yes see the super example
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1098
No description provided.