sogo: Adjust apache configuration to work on Trixie

Closes: #2507.

In Bookworm, /usr/lib/GNUStep/SOGo/WebServerResources is a symlink to
/usr/share/GNUStep/SOGo/WebServerResources. On Trixie, the directory
/usr/lib/GNUStep does not exist. In both cases,
/usr/share/GNUStep/SOGo/WebServerResources is where the actual resources are.
Update apache configuration to use /usr/share instead of /usr/lib/.

Tests:

- On Bookworm and Trixie, install sogo and ensure that the web UI is working.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Benedek Nagy <contact@nbenedek.me>
This commit is contained in:
Sunil Mohan Adapa 2025-04-08 11:36:28 -07:00 committed by Benedek Nagy
parent 64bb3568c1
commit 4308f8ea01
No known key found for this signature in database
GPG Key ID: E167EC84BC1CDBBF

View File

@ -3,8 +3,8 @@
## https://www.sogo.nu/support/faq/how-to-configure-apache-as-frontend.html
##
Alias /SOGo.woa/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo.woa/WebServerResources/ /usr/share/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/ /usr/share/GNUstep/SOGo/WebServerResources/
Redirect 301 /.well-known/caldav /SOGo/dav
Redirect 301 /.well-known/carddav /SOGo/dav
@ -24,7 +24,7 @@ Redirect 301 /.well-known/carddav /SOGo/dav
AddDefaultCharset UTF-8
</Location>
<Directory /usr/lib/GNUstep/SOGo/>
<Directory /usr/share/GNUstep/SOGo/>
Require all granted
# Explicitly allow caching of static content to avoid browser specific
# behavior. A resource's URL MUST change in order to have the client load