diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-08-06 20:27:06 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-08-06 20:27:06 +0200 |
commit | 5fe0d9eabd707f0ac56af966b0ca76f7fbdfa6d3 (patch) | |
tree | bb18ed9bf8909b8724e8377df0e3e7c29f71fff6 /apache2 | |
parent | 83b004562b88861443ad0d79f69dc6ae35710437 (diff) |
Move ScriptAlias from apache2 snippet local-mailman-root.conf to new local-mailman-nonroot.conf, and add RedirectMatch.
Diffstat (limited to 'apache2')
-rw-r--r-- | apache2/conf.d/local-mailman-nonroot.conf | 3 | ||||
-rw-r--r-- | apache2/conf.d/local-mailman.conf | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apache2/conf.d/local-mailman-nonroot.conf b/apache2/conf.d/local-mailman-nonroot.conf new file mode 100644 index 0000000..52e69d5 --- /dev/null +++ b/apache2/conf.d/local-mailman-nonroot.conf @@ -0,0 +1,3 @@ +ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ + +RedirectMatch permanent /mailman/?$ /mailman/listinfo diff --git a/apache2/conf.d/local-mailman.conf b/apache2/conf.d/local-mailman.conf index f01f331..146900a 100644 --- a/apache2/conf.d/local-mailman.conf +++ b/apache2/conf.d/local-mailman.conf @@ -12,4 +12,3 @@ Alias /pipermail/ /var/lib/mailman/archives/public/ Alias /images/mailman/ /usr/share/images/mailman/ -ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ |