Skip to content

Commit

Permalink
add process-group option to WSGIScriptAlias directive in default config
Browse files Browse the repository at this point in the history
On latest Fedora mod_wsgi, this	seems necessary	to ensure
dispatch to the	correct	process	group.
  • Loading branch information
karlcz committed Oct 9, 2023
1 parent d80bc88 commit 5238b29
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ DEPLOY_FILES=\
$(HTTPDCONFDIR)/wsgi_hatrac.conf \
$(DAEMONHOME)/hatrac_config.json

deploy: $(DEPLOY_FILES) force
deploy: install $(DEPLOY_FILES) force

uninstall: force
pip3 uninstall -y ermresolve
Expand Down
2 changes: 1 addition & 1 deletion hatrac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def sample_httpd_config():
WSGIPythonOptimize 1
WSGIDaemonProcess hatrac processes=4 threads=4 user=hatrac maximum-requests=2000
WSGIScriptAlias /hatrac %(hatrac_location)s/hatrac.wsgi
WSGIScriptAlias /hatrac %(hatrac_location)s/hatrac.wsgi process-group=hatrac
WSGIPassAuthorization On
WSGISocketPrefix /var/run/httpd/wsgi
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
setup(
name="hatrac",
description="simple object storage service",
version="1.0",
version="1.1",
packages=["hatrac", "hatrac.model", "hatrac.model.directory", "hatrac.model.storage", "hatrac.rest"],
package_data={'hatrac': ["*.wsgi"]},
scripts=["bin/hatrac-deploy", "bin/hatrac-migrate", "bin/hatrac-utils"],
Expand Down

0 comments on commit 5238b29

Please sign in to comment.