The pfSense Store

Author Topic: where are files of customize portal pages  (Read 126 times)

0 Members and 1 Guest are viewing this topic.

Offline jopeme

  • Full Member
  • ***
  • Posts: 124
  • Karma: +1/-0
    • View Profile
where are files of customize portal pages
« 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.

Offline Gertjan

  • Hero Member
  • *****
  • Posts: 2147
  • Karma: +165/-9
    • View Profile
Re: where are files of customize portal pages
« Reply #1 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