mailman: open /usr/share/images/mailman, revert to mod_access_compat
authorClinton Ebadi <clinton@unknownlamer.org>
Sun, 2 Dec 2018 22:03:42 +0000 (17:03 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Sun, 2 Dec 2018 22:03:42 +0000 (17:03 -0500)
apache config on mailman server has been normalized with other
servers, and is using mod_access_compat at the top level since domtool
is still using mod_access_compat.

src/plugins/mailman.sml

index ef72993..d165dc6 100644 (file)
@@ -151,9 +151,16 @@ val () = Env.actionV_one "mailmanVhost"
                             print "        Allow from all\n";
                             print "    </Directory>\n";
                             print "\n";
+                            print "\n";
+                            print "    <Directory /usr/share/images/mailman>\n";
+                            print "        Order allow,deny\n";
+                            print "        Allow from all\n";
+                            print "    </Directory>\n";
+                            print "\n";
                             print "    <Directory /var/lib/mailman/archives/public/>\n";
                             print "        Options +SymlinksIfOwnerMatch -ExecCGI +Indexes\n";
-                            print "        Require all granted\n";
+                            print "        Order allow,deny\n";
+                            print "        Allow from all\n";
                             print "    </Directory>\n";
 
                             Apache.doPre {user = user, nodes = map #1 places, id = vhostId, hostname = fullHost};