pfSense Forum

pfSense English Support => Captive Portal => Topic started by: jopeme on November 16, 2017, 01:26:29 pm

Title: where are files of customize portal pages
Post by: jopeme on November 16, 2017, 01:26:29 pm
Hello.
I have customized my portal login page and I don't find my upload files.
Any one can tell me what is the directory where are they ?

Thanks.
Title: Re: where are files of customize portal pages
Post by: Gertjan on November 16, 2017, 04:16:08 pm
Hi,

The 'captive portal login page', as the 'error page' and the 'logout page' are stored in this file : /conf/config.xml
All the other "user files" are also stored in /conf/config.xml

When the captive portal starts, a working copy is extracted here : /var/etc/
You will find files like
captiveportal_your-zone.html
captiveportal_your-zone-error.html
captiveportal_your-zone-logout.html

User files (working copies) are stored here : /var/db/cpelements/ and sym linked from the web root dir : /usr/local/captiveportal