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

Redirect webGUI to https

Scheduled Pinned Locked Moved webGUI
5 Posts 2 Posters 3.0k 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.
  • V
    Velociraptor
    last edited by Jan 6, 2010, 12:19 AM

    HI!
    i did change my webinterface to https which works well but i would also like to have a redirect of the http to the https like.

    http://forum.pfsense.org/index.php/topic,6215.msg35975.html
    http://forum.pfsense.org/index.php/topic,8999.msg50845.html

    wanted to do.
    After some research i found that the used webserver is lighttpd and as i know from apache there are some rewrite modules.
    So after some searching with an searchengine i found a solution on http://redmine.lighttpd.net/wiki/1/HowToRedirectHttpToHttps .

    As in the /etc/inc/system.inc is a if for the captive portal i thought perhabs someone could implement an checkbox under the https radiobutton? and implement the http redirect for the ip/hostname of the machine?

    Only problem for now i haven't come behind yet is, how to get lighttpd to listen on the 80 port and the 443 at the same time.

    Some hints perhabs?

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jan 6, 2010, 1:26 AM

      This is done now out of the box on 2.0. You could look a the commit history and see how it was done, but as I recall it involved including an extra lighttpd module for redirect.

      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
      • V
        Velociraptor
        last edited by Jan 6, 2010, 11:24 AM

        @jimp:

        This is done now out of the box on 2.0. You could look a the commit history and see how it was done, but as I recall it involved including an extra lighttpd module for redirect.

        yes the redirect mod.
        would you have a link to the history?

        or when approx will the 2.0 be released?

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Jan 6, 2010, 12:35 PM

          The link to the binary would be useless since 2.0 uses a different version of lighttpd than 1.2.3. You'd have to find the source for the version used in 1.2.3 and compile it by hand.

          2.0 is still a long ways off. It's in beta now, but there are quite a few things that need fixing and testing before it will be release quality.

          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
          • V
            Velociraptor
            last edited by Jan 6, 2010, 8:15 PM

            thanks for the information:)
            after reading and researching i guess i will wait till 2.0 because with self compiling i haven't much experience

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