[Pkg-mailman-hackers] Bug#926185: mailman: Provided apache.conf does not expose archives under mod_authz
    Sam Kemp 
    debian at sdkemp.co.uk
       
    Mon Apr  1 18:10:34 BST 2019
    
    
  
Package: mailman
Version: 1:2.1.29-1
Severity: normal
Tags: patch
Dear Maintainer,
List archives are by default located under /var/lib and are therefore not
visible through the web server under the default Debian apache2.conf.
The provided configuration template installed at /etc/mailman/apache.conf fixes
this issue in a standard installation, but not in the (commented) section for a
dedicated virtual host.
Patch attached to remedy this.
Would it be worth considering splitting the template file into two, in any
case, to allow more thorough commenting of the two scenarios? I'd be happy to
take that on if confirmed.
Sam
-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mailman depends on:
pn  apache2 | httpd        <none>
ii  cron [cron-daemon]     3.0pl1-132
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-8
ii  logrotate              3.14.0-4
ii  lsb-base               10.2019031300
ii  python                 2.7.15-4
pn  python-dnspython       <none>
ii  ucf                    3.0038+nmu1
Versions of packages mailman recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.92-2
Versions of packages mailman suggests:
pn  listadmin      <none>
pn  lynx           <none>
pn  mailman3-full  <none>
pn  spamassassin   <none>
-------------- next part --------------
--- apache.conf~	2019-04-01 17:47:59.116512727 +0100
+++ apache.conf	2019-04-01 17:52:55.544641572 +0100
@@ -50,6 +50,7 @@
 #<Directory /var/lib/mailman/archives/>
 #    Options FollowSymLinks
 #    AllowOverride None
+#    Require all granted
 #</Directory>
 #
 #Alias /pipermail/ /var/lib/mailman/archives/public/
-------------- next part --------------
--- apache.conf~	2019-04-01 17:47:59.116512727 +0100
+++ apache.conf	2019-04-01 17:52:55.544641572 +0100
@@ -50,6 +50,7 @@
 #<Directory /var/lib/mailman/archives/>
 #    Options FollowSymLinks
 #    AllowOverride None
+#    Require all granted
 #</Directory>
 #
 #Alias /pipermail/ /var/lib/mailman/archives/public/
-------------- next part --------------
--- apache.conf~	2019-04-01 17:47:59.116512727 +0100
+++ apache.conf	2019-04-01 17:52:55.544641572 +0100
@@ -50,6 +50,7 @@
 #<Directory /var/lib/mailman/archives/>
 #    Options FollowSymLinks
 #    AllowOverride None
+#    Require all granted
 #</Directory>
 #
 #Alias /pipermail/ /var/lib/mailman/archives/public/
-------------- next part --------------
--- apache.conf~	2019-04-01 17:47:59.116512727 +0100
+++ apache.conf	2019-04-01 17:52:55.544641572 +0100
@@ -50,6 +50,7 @@
 #<Directory /var/lib/mailman/archives/>
 #    Options FollowSymLinks
 #    AllowOverride None
+#    Require all granted
 #</Directory>
 #
 #Alias /pipermail/ /var/lib/mailman/archives/public/
    
    
More information about the Pkg-mailman-hackers
mailing list