[GH-ISSUE #408] Papermerge WSGI configuration on Apache server interferes with other virtual hosts #319

Closed
opened 2026-02-25 21:31:41 +03:00 by kerem · 0 comments
Owner

Originally created by @borisneubert on GitHub (Jul 28, 2021).
Original GitHub issue: https://github.com/ciur/papermerge/issues/408

Originally assigned to: @ciur on GitHub.

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:

  • OS: Linux Debian Buster 10.10
  • Apache/2.4.38
  • SQLite
  • Papermerge Version 2.0.1
Originally created by @borisneubert on GitHub (Jul 28, 2021). Original GitHub issue: https://github.com/ciur/papermerge/issues/408 Originally assigned to: @ciur on GitHub. **Description** This is not strictly a bug, though a showstopper for my setup. I followed [Server Configurations docs for Apache](https://www.papermerge.com/docs/Installation/server_configuration.html#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:** * OS: Linux Debian Buster 10.10 * Apache/2.4.38 * SQLite * Papermerge Version 2.0.1
kerem 2026-02-25 21:31:41 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#319
No description provided.