[Pkg-mailman-hackers] Pkg-mailman commit - rev 297 - in trunk/debian: . contrib

Thijs Kinkhorst thijs at costa.debian.org
Fri Aug 11 07:52:12 UTC 2006


Author: thijs
Date: 2006-08-11 07:52:06 +0000 (Fri, 11 Aug 2006)
New Revision: 297

Added:
   trunk/debian/contrib/apache.conf
Modified:
   trunk/debian/README.Debian
   trunk/debian/changelog
Log:
* Add example apache.conf under /etc/mailman
  (Closes: #282460, #135148, #178543, #179253).


Modified: trunk/debian/README.Debian
===================================================================
--- trunk/debian/README.Debian	2006-08-11 07:48:32 UTC (rev 296)
+++ trunk/debian/README.Debian	2006-08-11 07:52:06 UTC (rev 297)
@@ -4,35 +4,6 @@
 You can access the web interface of mailman on
 http://<hostname>/cgi-bin/mailman/listinfo
 
-In case you want to access mailman thru a shorter URL you should add
-something like the following to your webserver configuration (this
-line is for apache):
-
-ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
-
-In this case you need to set the DEFAULT_URL_PATTERN in
-/etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
-authentication code to work.  Note that you need to change the base
-URL for all the already-created lists as well.
-
-The public archives are located in /var/lib/mailman/archives/public,
-you can create a symlink from /var/www if you like, or create an alias like
-the following:
-
-Alias /pipermail/ /var/lib/mailman/archives/public/
-
-Note that by default Apache is shipped with SymlinksIfOwnerMatch, not
-FollowSymlinks.  This means that if you switch to private archiving
-and then back to public archiving again, you will get a "Forbidden"
-error.
-
-If broken images show on your mailman html pages, it is probably
-because you don't have the /images/mailman/ alias enabled in your
-webserver, create it as follows:
-
-Alias /images/mailman/ /usr/share/images/mailman/
-
-
 You can create new lists with the newlist command (you have to add the
 aliases it needs by hand to /etc/aliases or the corresponding database
 because mailman can not know about configuration of all MTA's, but newlist 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-08-11 07:48:32 UTC (rev 296)
+++ trunk/debian/changelog	2006-08-11 07:52:06 UTC (rev 297)
@@ -1,8 +1,10 @@
 mailman (2.1.8-2) unstable; urgency=low
 
+  * Add example apache.conf under /etc/mailman
+    (Closes: #282460, #135148, #178543, #179253).
   * Add watch file.
 
- -- Thijs Kinkhorst <thijs at debian.org>  Fri, 11 Aug 2006 09:48:02 +0200
+ -- Thijs Kinkhorst <thijs at debian.org>  Fri, 11 Aug 2006 09:48:59 +0200
 
 mailman (2.1.8-1) unstable; urgency=low
 

Added: trunk/debian/contrib/apache.conf
===================================================================
--- trunk/debian/contrib/apache.conf	2006-08-11 07:48:32 UTC (rev 296)
+++ trunk/debian/contrib/apache.conf	2006-08-11 07:52:06 UTC (rev 297)
@@ -0,0 +1,73 @@
+# Sample configuration for Debian mailman with Apache
+
+# We can find mailman here:
+ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
+# And the public archives:
+Alias /pipermail/ /var/lib/mailman/archives/public/
+# Logos:
+Alias /images/mailman/ /usr/share/images/mailman/
+
+# Use this if you don't want the "cgi-bin" component in your URL:
+# In case you want to access mailman through a shorter URL you should enable
+# this:
+#ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
+# In this case you need to set the DEFAULT_URL_PATTERN in
+# /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
+# authentication code to work.  Note that you need to change the base
+# URL for all the already-created lists as well.
+
+<Directory /usr/lib/cgi-bin/mailman/>
+    AllowOverride None
+    Options ExecCGI
+    AddHandler cgi-script .cgi
+    Order allow,deny
+    Allow from all
+</Directory>
+<Directory /var/lib/mailman/archives/public/>
+    Options Indexes FollowSymlinks
+    AllowOverride None
+    Order allow,deny
+    Allow from all
+</Directory>
+<Directory /usr/share/images/mailman/>
+    AllowOverride None
+    Order allow,deny
+    Allow from all
+</Directory>
+
+
+## The following describes how to configure mailman on
+## a dedicated virtual host, courtesy Marco d'Itri.
+
+# Add these lines in /etc/mailman/mm_cfg.py:
+#DEFAULT_EMAIL_HOST = 'lists.example.net'
+#DEFAULT_URL_HOST = 'lists.example.net'
+#DEFAULT_URL_PATTERN = 'http://%s/'
+
+#<VirtualHost *>
+#ServerName lists.example.net
+#DocumentRoot /var/www/lists
+#ErrorLog /var/log/apache2/lists-error.log
+#CustomLog /var/log/apache2/lists-access.log combined
+#
+#<Directory /var/lib/mailman/archives/>
+#    Options Indexes FollowSymLinks
+#    AllowOverride None
+#</Directory>
+#
+#Alias /pipermail/ /var/lib/mailman/archives/public/
+#Alias /images/mailman/ /usr/share/images/mailman/
+#ScriptAlias /admin /usr/lib/mailman/cgi-bin/admin
+#ScriptAlias /admindb /usr/lib/mailman/cgi-bin/admindb
+#ScriptAlias /confirm /usr/lib/mailman/cgi-bin/confirm
+#ScriptAlias /create /usr/lib/mailman/cgi-bin/create
+#ScriptAlias /edithtml /usr/lib/mailman/cgi-bin/edithtml
+#ScriptAlias /listinfo /usr/lib/mailman/cgi-bin/listinfo
+#ScriptAlias /options /usr/lib/mailman/cgi-bin/options
+#ScriptAlias /private /usr/lib/mailman/cgi-bin/private
+#ScriptAlias /rmlist /usr/lib/mailman/cgi-bin/rmlist
+#ScriptAlias /roster /usr/lib/mailman/cgi-bin/roster
+#ScriptAlias /subscribe /usr/lib/mailman/cgi-bin/subscribe
+#ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
+#</VirtualHost>
+




More information about the Pkg-mailman-hackers mailing list