sites-zotero.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <VirtualHost *:80>
  2. DocumentRoot /srv/web-library
  3. <Directory />
  4. Options FollowSymLinks
  5. AllowOverride None
  6. </Directory>
  7. <Directory /srv/web-library/>
  8. Options Indexes FollowSymLinks MultiViews
  9. AllowOverride None
  10. Order allow,deny
  11. allow from all
  12. </Directory>
  13. </VirtualHost>
  14. <VirtualHost *:443>
  15. DocumentRoot /srv/zotero/dataserver/htdocs
  16. SSLEngine on
  17. SSLCertificateFile /etc/apache2/zotero.cert
  18. SSLCertificateKeyFile /etc/apache2/zotero.key
  19. <Location /zotero/>
  20. SetHandler uwsgi-handler
  21. uWSGISocket /var/run/uwsgi/app/zss/socket
  22. uWSGImodifier1 5
  23. </Location>
  24. <Directory "/srv/zotero/dataserver/htdocs/">
  25. Options FollowSymLinks MultiViews
  26. AllowOverride All
  27. #2.2
  28. Order allow,deny
  29. Allow from all
  30. # 2.4
  31. # Require all granted
  32. #
  33. # If you are using a more recent version of apache
  34. # and are getting 403 errors, replace the Order and
  35. # Allow lines with:
  36. # Require all granted
  37. </Directory>
  38. ErrorLog /srv/zotero/log/error.log
  39. CustomLog /srv/zotero/log/access.log common
  40. </VirtualHost>