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

Pass "?redirURL" to Redirection URL

Scheduled Pinned Locked Moved Captive Portal
4 Posts 3 Posters 5.2k 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
    sascha
    last edited by Dec 3, 2010, 10:15 PM

    After CP-Login, people get redirected to our intranet-information-page, but many people are annoyed, that they have to retype the URL they initially wanted. So is there a way to pass the redirURL to the static-CP-redirection? So i could put a link at the top of the page like "Klick here to jumt to your requested url: http://google.com".
    I hope you understand what i mean… so something like redirection to : http://myintranet.com/index.php?redir=http://google.com
    I use Pfsense 2.0 latest snapshot....

    Sorry for my bad english and thanks for any thought...

    cheers, Sascha

    http://siebenlinden.de

    1 Reply Last reply Reply Quote 0
    • E
      Efonnes
      last edited by Dec 8, 2010, 9:17 PM

      It is possible on 2.0 by uploading a custom redirect page (might be incorrectly called logout page in the settings).  You may need to have the logout popup enabled for this page to display (but you can remove it from the redirect page if you don't want it).  You can get the contents of the current file by going to Diagnostics: Edit file and opening /var/etc/captiveportal-logout.html (don't edit it here; just copy it so you can save it into a file on your computer, edit that copy, then upload it on the captive portal settings).

      1 Reply Last reply Reply Quote 0
      • E
        eri--
        last edited by Dec 9, 2010, 11:58 AM

        No there is no such way for it.
        I would not recommend doing what you need and let alone what Effone says.

        Just tell people policy is policy.

        1 Reply Last reply Reply Quote 0
        • E
          Efonnes
          last edited by Dec 15, 2010, 11:08 AM

          What is that option for on the captive portal settings page if it wasn't intended to be used?

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received