Bug 216560 - www/mod_proxy_uwsgi: httpd.conf string is wrong
Summary: www/mod_proxy_uwsgi: httpd.conf string is wrong
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-29 00:28 UTC by Henrik Hudson
Modified: 2017-01-30 11:20 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (demon)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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