ciur / papermerge

Open Source Document Management System for Digital Archives (Scanned Documents)
https://papermerge.com
Apache License 2.0
2.55k stars 267 forks source link

Papermerge WSGI configuration on Apache server interferes with other virtual hosts #408

Closed borisneubert closed 2 years ago

borisneubert commented 3 years ago

Description This is not strictly a bug, though a showstopper for my setup.

I followed Server Configurations docs for Apache. Apache rejects to serve files from any other directory than /opt/papermerge and the media and static directories configured in the VirtualHost directive for the Papermerge virtual host. This is because the WSGI directives are global and cannot be local to the Papermerge virtual host inside the VirtualHost directive.

Expected Instructions how to disable WSGI for the other virtual hosts or keep the Django configuration separated or any other configuration hint that does not require changing the Papermerge code myself (barring future updates).

Info: