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

    Problem with custom page

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 750 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.
    • I
      ilarioQ
      last edited by

      Hello, I have a problem with the custom HTML page for logging in to the internet.
      I built a simple page with only the field to type the voucher and the button log-in.
      If I enter the correct code the connection is established.
      If I make a mistake in the code instead of appearing my HTML page appears the default one of pfsense, thus creating confusion in those who have to connect to the network.
      Is something wrong with my page?
      Thank you

      Translated with www.DeepL.com/Translator

      GertjanG 1 Reply Last reply Reply Quote 1
      • GertjanG
        Gertjan @ilarioQ
        last edited by

        @ilarioQ said in Problem with custom page:

        If I make a mistake in the code instead of appearing my HTML page appears the default one of pfsense, thus creating confusion in those who have to connect to the network.

        If the code is wrong, it isn't the default login page that is re-show to you, but de default error page.

        This one :

        08e3f48a-d568-438a-a877-03be3aa7077a-image.png

        Practically, it's exactly the same page / file as the default login page, with on more line :

        				<p>This is the error message : $PORTAL_MESSAGE$.</p>
        

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        I 1 Reply Last reply Reply Quote 0
        • I
          ilarioQ @Gertjan
          last edited by

          @Gertjan Thanks for your reply, I'll try to change the page, in case I can't write again.

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