Bug 216560

Summary: www/mod_proxy_uwsgi: httpd.conf string is wrong
Product: Ports & Packages Reporter: Henrik Hudson <ports>
Component: Individual Port(s)Assignee: Dmitry Sivachenko <demon>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (demon)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Henrik Hudson 2017-01-29 00:28:15 UTC
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 deploys 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 naming convention of the rest of the proxies, but that's semantics.

The httpd.conf line it installs should be fixed though.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-01-30 11:20:11 UTC
A commit references this bug:

Author: mat
Date: Mon Jan 30 11:19:13 UTC 2017
New revision: 432831
URL: https://svnweb.freebsd.org/changeset/ports/432831

Log:
  Fix apache module name.

  PR:		216560
  Reported by:	Henrik Hudson
  Sponsored by:	Absolight

Changes:
  head/www/mod_proxy_uwsgi/Makefile