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

    Local php redirect after successful login

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 1.4k 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.
    • S
      salah
      last edited by

      Dear users

      hi all, can i force pfsense to redirect to the local page (http//pfsense-ip/local_page.php) after successful captive portal login ?!
      for example the page viewing success login .

      i want do that cause i have slow internet connection for fast url redirect then the users worried about success login :-\

      thanx

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi.

        Make your "local_page.php" file.
        Upload it using the "File Manger", most right tab on the Captive Portal settings page.

        On the Captive Portal settings page, find "After authentication Redirection URL" fill in this:
        captiveportal-local_page.php

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

        1 Reply Last reply Reply Quote 0
        • S
          salah
          last edited by

          thank you Gertjan for your reply, user is connected to the internet after i tested your advice but a error page is appears after logging in :(
          anyway i tried another method by created a new page only contain a green right mark logo with done below then uploaded as (Logout page contents) and activated (Enable logout popup window) feature, it is working properly as i want .

          thank you again

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