Adjust path for newer python version

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2021-01-20 11:42:22 +01:00
parent 8feaa47430
commit 0ce54f3914

View file

@ -21,7 +21,7 @@ AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text
</filesmatch> </filesmatch>
# Static resources for the datagrepper app. # Static resources for the datagrepper app.
Alias /datagrepper/static/ /usr/lib/python2.7/site-packages/datagrepper/static/ Alias /datagrepper/static/ /usr/lib/python3.9/site-packages/datagrepper/static/
WSGISocketPrefix run/wsgi WSGISocketPrefix run/wsgi
WSGIRestrictStdout Off WSGIRestrictStdout Off
@ -31,7 +31,7 @@ WSGIDaemonProcess datagrepper user=fedmsg group=fedmsg maximum-requests=50000 di
WSGIScriptAlias /datagrepper /usr/share/datagrepper/apache/datagrepper.wsgi WSGIScriptAlias /datagrepper /usr/share/datagrepper/apache/datagrepper.wsgi
<Directory /usr/lib/python2.7/site-packages/datagrepper/static/> <Directory /usr/lib/python3.9/site-packages/datagrepper/static/>
Order deny,allow Order deny,allow
Require all granted Require all granted
</Directory> </Directory>