Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Nov 2016 20:47:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 214372] www/subsonic-standalone: Cannot set both HTTP and HTTPS ports
Message-ID:  <bug-214372-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214372

            Bug ID: 214372
           Summary: www/subsonic-standalone: Cannot set both HTTP and
                    HTTPS ports
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jlh@FreeBSD.org
          Reporter: nintendud+FREEBSDBUGS@gmail.com
             Flags: maintainer-feedback?(jlh@FreeBSD.org)
          Assignee: jlh@FreeBSD.org

The latest subsonic-standalone package has a single configuration option for
port. The port is used for HTTP when SSL is disabled, and HTTPS when SSL is
enabled. When SSL is enabled, the HTTP port is set to 0.

It makes complete logical sense to disable HTTP when HTTPS is enabled.
Unfortunately, Subsonic currently has a bug that prevents Subsonic Premium
subdomains from functioning when -Dsubsonic.port is set to 0 and inaccessib=
le
externally [0].

To work around this bug (at least until upstream fixes it) and to support d=
ual
http/https configurations for those that want it, I believe it should be
possible to configure both ports independently. The older version of this
package exposed subsonic_http_port and subsonic_https_port, but I believe t=
he
current configuration behavior is cleaner/safer for most users.

My suggestion: expose a subsonic_https_port option. If that option is
explicitly present, use subsonic_port for HTTP and subsonic_https_port for
HTTPS. Otherwise, use the current behavior that disables HTTP.

Thoughts?

[0] https://sourceforge.net/p/subsonic/bugs/199/

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214372-13>