summaryrefslogtreecommitdiffstats
path: root/roles/statscache
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2015-11-01 21:31:09 +0000
committerRalph Bean <rbean@redhat.com>2015-11-01 21:31:09 +0000
commitafd8f198564f79d658119435d9719a962e31e3bd (patch)
tree8faa7ba710e6eafd77b50e89328b9520a26906df /roles/statscache
parent8ca1d2a82e520643eb108beb5831a9cf49d8b0ee (diff)
downloadansible-afd8f198564f79d658119435d9719a962e31e3bd.tar.gz
ansible-afd8f198564f79d658119435d9719a962e31e3bd.tar.xz
ansible-afd8f198564f79d658119435d9719a962e31e3bd.zip
More httpd tweaks for statscache.
Diffstat (limited to 'roles/statscache')
-rw-r--r--roles/statscache/frontend/templates/statscache.conf14
1 files changed, 5 insertions, 9 deletions
diff --git a/roles/statscache/frontend/templates/statscache.conf b/roles/statscache/frontend/templates/statscache.conf
index a3bc150d6..81884a39b 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/
-
-<Directory /usr/share/statscache/>
- Order deny,allow
- Allow from all
-</Directory>
+WSGIScriptAlias /statscache /usr/share/statscache/apache/statscache.wsgi
+Alias /statscache/static/ /usr/lib/python2.7/site-packages/statscache/static/
<Location /statscache>
WSGIProcessGroup statscache
Require all granted
</Location>
+<Directory /usr/share/statscache/>
+ Require all granted
+</Directory>