More httpd tweaks for statscache.
This commit is contained in:
parent
8ca1d2a82e
commit
afd8f19856
1 changed files with 5 additions and 9 deletions
|
@ -1,22 +1,18 @@
|
||||||
LoadModule wsgi_module modules/mod_wsgi.so
|
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
|
WSGIDaemonProcess statscache user=apache group=apache maximum-requests=50000 display-name=statscache processes=4 threads=4 inactivity-timeout=300
|
||||||
WSGISocketPrefix run/wsgi
|
WSGISocketPrefix run/wsgi
|
||||||
WSGIRestrictStdout Off
|
WSGIRestrictStdout Off
|
||||||
WSGIRestrictSignal Off
|
WSGIRestrictSignal Off
|
||||||
WSGIPythonOptimize 1
|
WSGIPythonOptimize 1
|
||||||
|
|
||||||
WSGIScriptAlias / /usr/share/statscache/apache/statscache.wsgi
|
WSGIScriptAlias /statscache /usr/share/statscache/apache/statscache.wsgi
|
||||||
|
Alias /statscache/static/ /usr/lib/python2.7/site-packages/statscache/static/
|
||||||
Alias /static/ /usr/lib/python2.7/site-packages/statscache/static/
|
|
||||||
|
|
||||||
<Directory /usr/share/statscache/>
|
|
||||||
Order deny,allow
|
|
||||||
Allow from all
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
<Location /statscache>
|
<Location /statscache>
|
||||||
WSGIProcessGroup statscache
|
WSGIProcessGroup statscache
|
||||||
Require all granted
|
Require all granted
|
||||||
</Location>
|
</Location>
|
||||||
|
<Directory /usr/share/statscache/>
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue