[Mailman-Users] Mailman Web interface disappeared after upgrade to Jessie

Mark Sapiro mark at msapiro.net
Wed Mar 23 22:22:12 EDT 2016


On 03/22/2016 02:31 PM, Hedy Dargère wrote:
> Hi,
> 
> I have a mailman server which was under Debian Wheezy, but after upgrade
> to Jessie, I can't retrieve the web interface.


This is a Debian issue. Please see the FAQ at
<http://wiki.list.org/x/12812344>.


> You have as attachment the following files :
> - /etc/mailman/mm_cfg.py files
> - /etc/apache2/sites-enabled/mailman
> - /etc/apache2/apache2.conf


Two of which were removed by This list's content filtering, however the
important one in this case is there.


> 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

That's irrelevant. The Mailman web UI is accessed via ScriptAlias.


Attached Apache sites-enabled/mailman in part.

...
> <Directory /usr/lib/cgi-bin/mailman/>
>     AllowOverride None
>     Options ExecCGI
>     AddHandler cgi-script .cgi
>     Order allow,deny
>     Allow from all
> </Directory>
...
> ScriptAlias /listinfo /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>



When you go to http://listes.np11.org/ the rewrite rules above rewrite
that to http://listes.np11.org/listinfo, and the

ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo

says execute the CGI found at /usr/lib/cgi-bin/mailman/listinfo, and
Apache says it isn't there.

Maybe it's a symlink (Debian does that) and the above

<Directory /usr/lib/cgi-bin/mailman/>

needs

    Options ExecCGI FollowSymLinks

instead of just

    Options ExecCGI

Also, Apache 2.4 if that's what you have needs

    Require all granted

instead of

    Order allow,deny
    Allow from all

in all the Directory blocks.

Finally, if this doesn't solve it for you, what's in Apache's error.log?

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list