From 4308f8ea01f2824e0feea3cf45f72b6ce9a0d767 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 8 Apr 2025 11:36:28 -0700 Subject: [PATCH] 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 Reviewed-by: Benedek Nagy --- .../etc/apache2/conf-available/sogo-freedombox.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plinth/modules/sogo/data/usr/share/freedombox/etc/apache2/conf-available/sogo-freedombox.conf b/plinth/modules/sogo/data/usr/share/freedombox/etc/apache2/conf-available/sogo-freedombox.conf index 421bf8a91..a825b1ddc 100644 --- a/plinth/modules/sogo/data/usr/share/freedombox/etc/apache2/conf-available/sogo-freedombox.conf +++ b/plinth/modules/sogo/data/usr/share/freedombox/etc/apache2/conf-available/sogo-freedombox.conf @@ -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 - + 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