From afd8f198564f79d658119435d9719a962e31e3bd Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Sun, 1 Nov 2015 21:31:09 +0000 Subject: [PATCH] More httpd tweaks for statscache. --- .../statscache/frontend/templates/statscache.conf | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/roles/statscache/frontend/templates/statscache.conf b/roles/statscache/frontend/templates/statscache.conf index a3bc150d6c..81884a39bc 100644 --- a/roles/statscache/frontend/templates/statscache.conf +++ b/roles/statscache/frontend/templates/statscache.conf @@ -1,22 +1,18 @@ LoadModule wsgi_module modules/mod_wsgi.so -WSGIPythonEggs /var/cache/statscache/.python-eggs WSGIDaemonProcess statscache user=apache group=apache maximum-requests=50000 display-name=statscache processes=4 threads=4 inactivity-timeout=300 WSGISocketPrefix run/wsgi WSGIRestrictStdout Off WSGIRestrictSignal Off WSGIPythonOptimize 1 -WSGIScriptAlias / /usr/share/statscache/apache/statscache.wsgi - -Alias /static/ /usr/lib/python2.7/site-packages/statscache/static/ - - - Order deny,allow - Allow from all - +WSGIScriptAlias /statscache /usr/share/statscache/apache/statscache.wsgi +Alias /statscache/static/ /usr/lib/python2.7/site-packages/statscache/static/ WSGIProcessGroup statscache Require all granted + + Require all granted +