[ciderwebmail] 11/14: Improve Apache config snippet to catch URL without trailing slash (unhandled by uWSGI). Closes: Bug#798610. Thanks to James Valleroy.
Jonas Smedegaard
dr at jones.dk
Thu Sep 21 08:47:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository ciderwebmail.
commit 4074ec08b236555a9ca0bb1f1c9c2ae3d17fd402
Author: Jonas Smedegaard <dr at jones.dk>
Date: Thu Sep 21 10:24:41 2017 +0200
Improve Apache config snippet to catch URL without trailing slash (unhandled by uWSGI). Closes: Bug#798610. Thanks to James Valleroy.
---
debian/etc/ciderwebmail/apache2-uwsgi.conf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/etc/ciderwebmail/apache2-uwsgi.conf b/debian/etc/ciderwebmail/apache2-uwsgi.conf
index 2b70fa7..f0823af 100644
--- a/debian/etc/ciderwebmail/apache2-uwsgi.conf
+++ b/debian/etc/ciderwebmail/apache2-uwsgi.conf
@@ -2,3 +2,5 @@
SetHandler uwsgi-handler
uWSGISocket /run/uwsgi/app/ciderwebmail/socket
</Location>
+
+RedirectMatch permanent ^/cider$ /cider/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/ciderwebmail.git
More information about the Pkg-perl-cvs-commits
mailing list