Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2021 05:39:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 257726] www/obhttpd cannot parse typese {} block
Message-ID:  <bug-257726-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 257726
           Summary: www/obhttpd cannot parse typese {} block
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: quentinrbaker@gmail.com
                CC: koue@chaosophia.net
             Flags: maintainer-feedback?(koue@chaosophia.net)
                CC: koue@chaosophia.net

Created attachment 227070
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227070&action=
=3Dedit
Example obhttpd.conf file

I was trying to override a MIME type using the "types" option as described =
in
the manual page for obhttpd.conf
(https://www.freebsd.org/cgi/man.cgi?query=3Dobhttpd.conf&manpath=3DFreeBSD=
+13.0-RELEASE+and+Ports)
and found that adding any types block results in a syntax error according to
"obhttpd -n".=20

Attached is the failing server config (used to present port-mgmt/synth logs=
).
The configuration will be read successfully if the types block is removed.

--=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-257726-7788>