[Fusionforge-commits] r9332 - in trunk/plugins/coclico/mailman: etc etc/httpd.d packaging/install

Christian Bayle cbayle at libremir.placard.fr.eu.org
Fri Apr 2 18:19:12 CEST 2010


Author: cbayle
Date: 2010-04-02 18:19:12 +0200 (Fri, 02 Apr 2010)
New Revision: 9332

Added:
   trunk/plugins/coclico/mailman/etc/httpd.d/
   trunk/plugins/coclico/mailman/etc/httpd.d/200list.vhost
   trunk/plugins/coclico/mailman/etc/httpd.d/20list
   trunk/plugins/coclico/mailman/etc/httpd.d/20zlist.vhost
   trunk/plugins/coclico/mailman/etc/httpd.d/21list.vhost.ssl
   trunk/plugins/coclico/mailman/etc/httpd.d/62plugin-list-mailman
Modified:
   trunk/plugins/coclico/mailman/packaging/install/plugin-mailman
Log:
Try to add proper apache config


Added: trunk/plugins/coclico/mailman/etc/httpd.d/200list.vhost
===================================================================
--- trunk/plugins/coclico/mailman/etc/httpd.d/200list.vhost	                        (rev 0)
+++ trunk/plugins/coclico/mailman/etc/httpd.d/200list.vhost	2010-04-02 16:19:12 UTC (rev 9332)
@@ -0,0 +1,4 @@
+# 200list.vhost begin
+<VirtualHost *:80>
+	ServerName {lists_host}
+# 200list.vhost end

Added: trunk/plugins/coclico/mailman/etc/httpd.d/20list
===================================================================
--- trunk/plugins/coclico/mailman/etc/httpd.d/20list	                        (rev 0)
+++ trunk/plugins/coclico/mailman/etc/httpd.d/20list	2010-04-02 16:19:12 UTC (rev 9332)
@@ -0,0 +1,18 @@
+# 20list begin
+	AddHandler cgi-script .cgi
+
+	ScriptAlias /cgi-bin/mailman/ /var/lib/mailman/cgi-bin/
+	ScriptAlias /mailman/ /var/lib/mailman/cgi-bin/
+
+	Alias /pipermail /var/lib/mailman/archives/public
+	<Directory /var/lib/mailman/archives/public>
+		AllowOverride Options
+		Options FollowSymLinks
+	</Directory>
+
+	Alias /images/mailman /usr/share/images/mailman
+	<Location /images/mailman>
+		order allow,deny
+		allow from all
+	</Location>
+# 20list end

Added: trunk/plugins/coclico/mailman/etc/httpd.d/20zlist.vhost
===================================================================
--- trunk/plugins/coclico/mailman/etc/httpd.d/20zlist.vhost	                        (rev 0)
+++ trunk/plugins/coclico/mailman/etc/httpd.d/20zlist.vhost	2010-04-02 16:19:12 UTC (rev 9332)
@@ -0,0 +1,14 @@
+# 20zlist.vhost begin
+	RedirectMatch permanent ^/$ http://{lists_host}/mailman/listinfo
+	LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" fusionforge
+	CustomLog "|{cronolog_path} {var_log_gforge}/%Y/%m/%d/fusionforge-lists.log" fusionforge
+	# Ensure that we don't try to use SSL on SSL Servers
+	<IfModule apache_ssl.c>
+    		SSLDisable
+	</IfModule>
+
+	RewriteEngine on
+	RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
+	RewriteRule .* - [F]
+</VirtualHost>
+# 20zlist.vhost end

Added: trunk/plugins/coclico/mailman/etc/httpd.d/21list.vhost.ssl
===================================================================
--- trunk/plugins/coclico/mailman/etc/httpd.d/21list.vhost.ssl	                        (rev 0)
+++ trunk/plugins/coclico/mailman/etc/httpd.d/21list.vhost.ssl	2010-04-02 16:19:12 UTC (rev 9332)
@@ -0,0 +1,47 @@
+# 21list.vhost.ssl begin
+<VirtualHost *:443>
+	ServerName {lists_host}
+
+	<IfModule mod_ssl.c>
+		SSLEngine on
+		SSLCertificateFile {sys_sslcrt}
+		SSLCertificateKeyFile {sys_sslkey}
+		<Files ~ "\.(cgi|shtml)$">
+			SSLOptions +StdEnvVars
+		</Files>
+		<Directory "/usr/lib/cgi-bin">
+			SSLOptions +StdEnvVars
+		</Directory>
+		SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
+	</IfModule>
+
+	<IfModule apache_ssl.c>
+		SSLEnable
+	</IfModule>
+	##### COPY 20list begin #####
+	AddHandler cgi-script .cgi
+
+	ScriptAlias /cgi-bin/mailman/ /var/lib/mailman/cgi-bin/
+	ScriptAlias /mailman/ /var/lib/mailman/cgi-bin/
+
+	Alias /pipermail /var/lib/mailman/archives/public
+	<Directory /var/lib/mailman/archives/public>
+		AllowOverride Options
+		Options FollowSymLinks
+	</Directory>
+
+	Alias /images/mailman /usr/share/images/mailman
+	<Location /images/mailman>
+		order allow,deny
+		allow from all
+	</Location>
+	##### COPY 20list end #####
+	RedirectMatch permanent ^/$ https://{lists_host}/mailman/listinfo
+	LogFormat "%h %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" fusionforge
+	CustomLog "|{cronolog_path} {var_log_gforge}/%Y/%m/%d/fusionforge-list-ssl.log" fusionforge
+
+	RewriteEngine on
+	RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
+	RewriteRule .* - [F]
+</VirtualHost>
+# 21list.vhost.ssl end

Added: trunk/plugins/coclico/mailman/etc/httpd.d/62plugin-list-mailman
===================================================================
--- trunk/plugins/coclico/mailman/etc/httpd.d/62plugin-list-mailman	                        (rev 0)
+++ trunk/plugins/coclico/mailman/etc/httpd.d/62plugin-list-mailman	2010-04-02 16:19:12 UTC (rev 9332)
@@ -0,0 +1,18 @@
+# 62plugin-list-mailman begin
+	AddHandler cgi-script .cgi
+
+	ScriptAlias /cgi-bin/mailman/ /var/lib/mailman/cgi-bin/
+	ScriptAlias /mailman/ /var/lib/mailman/cgi-bin/
+
+	Alias /pipermail /var/lib/mailman/archives/public
+	<Directory /var/lib/mailman/archives/public>
+		AllowOverride Options
+		Options FollowSymLinks
+	</Directory>
+
+	Alias /images/mailman /usr/share/images/mailman
+	<Location /images/mailman>
+		order allow,deny
+		allow from all
+	</Location>
+# 62plugin-list-mailman end

Modified: trunk/plugins/coclico/mailman/packaging/install/plugin-mailman
===================================================================
--- trunk/plugins/coclico/mailman/packaging/install/plugin-mailman	2010-04-02 14:50:59 UTC (rev 9331)
+++ trunk/plugins/coclico/mailman/packaging/install/plugin-mailman	2010-04-02 16:19:12 UTC (rev 9332)
@@ -5,5 +5,6 @@
 www/*                     usr/share/gforge/plugins/mailman/www/
 cronjobs/*                usr/share/gforge/cronjobs
 etc/plugins/mailman/*     etc/gforge/plugins/mailman/
+etc/httpd.d/*             usr/share/gforge/etc/httpd.d/
 usr/lib/mailman/Mailman/* usr/lib/mailman/Mailman/
 var/lib/mailman/lists/*   var/lib/mailman/lists/




More information about the Fusionforge-commits mailing list