Release-monitoring: Fix apache issue with external dirs

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2020-06-26 13:14:19 +02:00
parent 0d7e14eff6
commit 9664b31916

View file

@ -27,11 +27,11 @@ StartServers 20
ServerLimit 100 ServerLimit 100
MaxRequestsPerChild 2000 MaxRequestsPerChild 2000
MaxRequestWorkers 100 MaxRequestWorkers 100
<Directory "/usr/local/lib/python3.7/anitya/static/docs/html/"> <Directory "/usr/local/lib/python3.8/anitya/static/docs/html/">
AllowOverride None AllowOverride None
Require all granted Require all granted
</Directory> </Directory>
<Directory "/usr/local/lib/python3.7/site-packages/anitya/static/"> <Directory "/usr/local/lib/python3.8/site-packages/anitya/static/">
AllowOverride None AllowOverride None
Require all granted Require all granted
</Directory> </Directory>
@ -55,8 +55,8 @@ LogLevel info
TypesConfig /etc/mime.types TypesConfig /etc/mime.types
AddDefaultCharset UTF-8 AddDefaultCharset UTF-8
CoreDumpDirectory /tmp CoreDumpDirectory /tmp
Alias /docs /usr/local/lib/python3.7/anitya/static/docs/html/ Alias /docs /usr/local/lib/python3.8/anitya/static/docs/html/
Alias /static /usr/local/lib/python3.7/site-packages/anitya/static/ Alias /static /usr/local/lib/python3.8/site-packages/anitya/static/
WSGIDaemonProcess anitya display-name=anitya processes=2 threads=2 maximum-requests=1000 home=/httpdir WSGIDaemonProcess anitya display-name=anitya processes=2 threads=2 maximum-requests=1000 home=/httpdir
WSGIApplicationGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL}
WSGISocketPrefix run/wsgi WSGISocketPrefix run/wsgi