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

WebGUI - HTTPS - WebGUI redirect - Not working as expected

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
4 Posts 3 Posters 3.6k 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
    Seth
    last edited by Jul 12, 2010, 2:44 PM

    While working with the WebGUI config (seeing if I can run both secure and non secure sites to host proxy file)  I discovered that when protocol is set to HTTPS and the check box is set to UNCHECKED for "WebGUI redirect" "Disable webConfigurator redirect rule" redirection still occurs.

    HTTPS and WebGUI redirect selected
    or
    HTTPS and WebGUI redirect NOT selected (unchecked)
    Produces the same result in lighty-webConfigurator.conf

    
    ## ssl configuration
    ssl.engine = "enable"
    ssl.pemfile = "/var/etc/cert.pem"
    
    $SERVER["socket"] == ":80" {
    	$HTTP["host"] =~ "(.*)" {
    		url.redirect = ( "^/(.*)" => "https://%1/$1" )
    	}
    }
    
    
    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jul 12, 2010, 9:00 PM

      Fixed, thanks.

      1 Reply Last reply Reply Quote 0
      • D
        ddod
        last edited by Mar 28, 2011, 7:52 PM

        When was this fixed and how?  I am still seeing this same behavior using the 2.0 RC

        1 Reply Last reply Reply Quote 0
        • D
          ddod
          last edited by Mar 28, 2011, 9:00 PM

          So I just figured it out.  On the NAT rule I had to enable NAT reflection (the default setting is off).

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