Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2017 00:28:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216560] www/mod_proxy_uwsgi: httpd.conf string is wrong
Message-ID:  <bug-216560-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 216560
           Summary: www/mod_proxy_uwsgi: httpd.conf string is wrong
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: demon@FreeBSD.org
          Reporter: ports@thelanman.net
             Flags: maintainer-feedback?(demon@FreeBSD.org)
          Assignee: demon@FreeBSD.org

I had the mod_proxy_uwsgi installed on an older server and it installed as:

libexec/apache24/mod_proxy_uwsgi.so

and the httpd.conf line of:
LoadModule proxy_uwsgi_module libexec/apache24/mod_proxy_uwsgi.so

I'm deploying an app to a different server and using a new build and it dep=
loys
as:

libexec/apache24/uwsgi.so

and the httpd.conf line of:
LoadModule uwsgi_module libexec/apache24/uwsgi.so

which throws an error when starting apache. The error is:
Performing sanity check on apache24 configuration:
httpd: Syntax error on line 155 of /usr/local/etc/apache24/httpd.conf: Can't
locate API module structure `uwsgi_module' in file
/usr/local/libexec/apache24/uwsgi.so: Undefined symbol "uwsgi_module"


The fix is to change the LoadModule line to:
LoadModule proxy_uwsgi_module libexec/apache24/uwsgi.so


Personally, I prefer the filename of mod_proxy_uwsgi.so as it fits the nami=
ng
convention of the rest of the proxies, but that's semantics.

The httpd.conf line it installs should be fixed though.

--=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-216560-13>