Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Where is the capative portal login page store

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 3 Posters 749 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      coolcham
      last edited by

      hello
      recently I added CP login page with CP error page.
      but it showing error. I just need to delete it.

      could someone tell me where is the CP login and error page contained .

      this really fed up >:( me

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        There really isn't a way to delete those pages.  And looking at the code I don't think just removing the files (from /var/etc) would be what you want either.

        I cleared my custom html by doing this:

        cp /dev/null /tmp/null

        Then selecting /tmp/null as my login and error pages and saving.

        (Mac OS wouldn't let me just select /dev/null and upload it.)

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          On 2.1.x there isn't a simple way to do this unfortunately. If all else fails you can either upload an empty file, or a copy of the stock page from the code, or download a config backup and edit out the page contents from there and restore it.

          On 2.2 there are buttons to clear the stored custom files so it will be much easier to manage.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.