[Mailman-Users] mailman and httpd vhost

Igor Gnatenko ignatenkobrain at fedoraproject.org
Sat Nov 8 15:29:27 CET 2014


Hey,

I've installed mailman and I'm trying to get webUI.
Fedora release 20 (Heisenbug)
mailman-2.1.18.1-1.fc20.x86_64

I have nginx as reverse proxy and vhost in apache for mailman.

/etc/nginx/conf.d/apache-proxy.conf
server {
        listen 80 default_server;
        server_name web.clanwars.org mm.clanwars.org;

        location / {
                proxy_set_header X-Real-IP  $remote_addr;
                proxy_set_header X-Forwarded-For $remote_addr;
                proxy_set_header Host $host;
                client_max_body_size 512M;
                proxy_pass http://127.0.0.1:8080;
        }

        location ~ /\.ht {
                deny all;
        }
}


/etc/httpd/conf.d/mailman.conf
<VirtualHost *:8080>
  ServerName clanwars.org
  ServerAlias mm.clanwars.org
  ServerAdmin i.gnatenko.brain at gmail.com

  <Directory /usr/lib/mailman/cgi-bin/>
    AllowOverride None
    Options ExecCGI
    Require all granted
  </Directory>

  <Directory /var/lib/mailman/archives/public>
    Options MultiViews FollowSymLinks
    AllowOverride None
    Require all granted
    AddDefaultCharset Off
  </Directory>
</VirtualHost>

ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
Alias /pipermail/ /var/lib/mailman/archives/public/
ScriptAlias mm.clanwars.org:8080 /usr/lib/mailman/cgi-bin/

# Uncomment the following line, replacing www.example.com with your server's
# name, to redirect queries to /mailman to the listinfo page (recommended).

# RedirectMatch ^/mailman[/]*$ http://mm.clanwars.org/mailman/listinfo


Trying to open mm.clanwars.org/mailman, mm.clanwars.org:8080/mailman
Always - "Not Found"
The requested URL /mailman was not found on this server.


In logs nothing interesting.
217.26.6.9 - - [08/Nov/2014:17:22:48 +0300] "GET /mailman HTTP/1.1"
404 205 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101
Firefox/33.0" "-"

/var/log/audit/audit.log is empty. SELinux in Enforcing state.


Thoughts?
--
-Igor Gnatenko


More information about the Mailman-Users mailing list