Hi, I have a mailman server which was under Debian Wheezy, but after upgrade to Jessie, I can't retrieve the web interface.
You have as attachment the following files : - /etc/mailman/mm_cfg.py files - /etc/apache2/sites-enabled/mailman - /etc/apache2/apache2.conf When I go to listes.np11.org, I have on the apache2 log : 78.213.138.119 - - [22/Mar/2016:22:13:08 +0100] "GET /listinfo HTTP/1.1" 404 503 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0" Here the content of my www directory # tree /var/www /var/www |-- html |-- index.html `-- lists `-- index.html 2 directories, 2 files Idon't understand what I'm doing wrong ! Thanks for your help. Hedy
# 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/ ScriptAlias / /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 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 *> <VirtualHost *:80 *:443> ServerName listes.np11.org 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 FollowSymLinks AllowOverride None </Directory> Alias /pipermail/ /var/lib/mailman/archives/public/ Alias /images/mailman/ /usr/share/images/mailman/ ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm ScriptAlias /create /usr/lib/cgi-bin/mailman/create ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo ScriptAlias /options /usr/lib/cgi-bin/mailman/options ScriptAlias /private /usr/lib/cgi-bin/mailman/private ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/ ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo <IfModule mod_rewrite.c> RewriteEngine on # Redirect to SSL if available <IfModule mod_ssl.c> RewriteCond %{HTTPS} !^on$ [NC] RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L] </IfModule> # Redirect root access to mailman list RewriteRule ^$ /listinfo [R=permanent,L] RewriteRule ^/$ /listinfo [R=permanent,L] </IfModule> </VirtualHost>
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org