mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
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:
parent
64bb3568c1
commit
4308f8ea01
@ -3,8 +3,8 @@
|
|||||||
## https://www.sogo.nu/support/faq/how-to-configure-apache-as-frontend.html
|
## https://www.sogo.nu/support/faq/how-to-configure-apache-as-frontend.html
|
||||||
##
|
##
|
||||||
|
|
||||||
Alias /SOGo.woa/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
|
Alias /SOGo.woa/WebServerResources/ /usr/share/GNUstep/SOGo/WebServerResources/
|
||||||
Alias /SOGo/WebServerResources/ /usr/lib/GNUstep/SOGo/WebServerResources/
|
Alias /SOGo/WebServerResources/ /usr/share/GNUstep/SOGo/WebServerResources/
|
||||||
|
|
||||||
Redirect 301 /.well-known/caldav /SOGo/dav
|
Redirect 301 /.well-known/caldav /SOGo/dav
|
||||||
Redirect 301 /.well-known/carddav /SOGo/dav
|
Redirect 301 /.well-known/carddav /SOGo/dav
|
||||||
@ -24,7 +24,7 @@ Redirect 301 /.well-known/carddav /SOGo/dav
|
|||||||
AddDefaultCharset UTF-8
|
AddDefaultCharset UTF-8
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
<Directory /usr/lib/GNUstep/SOGo/>
|
<Directory /usr/share/GNUstep/SOGo/>
|
||||||
Require all granted
|
Require all granted
|
||||||
# Explicitly allow caching of static content to avoid browser specific
|
# Explicitly allow caching of static content to avoid browser specific
|
||||||
# behavior. A resource's URL MUST change in order to have the client load
|
# behavior. A resource's URL MUST change in order to have the client load
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user