On 06/07/2016 02:16 PM, Timothy Jasionowski wrote: > > On the previous implementation of 2.1.15, the URI would be constructed as: > > https://server.domain.tld/mailman/admin/mailing_list/members/add > > However, in trying to update my implementation of 2.1.22 in the new server, > I’m getting: > > https://server.domain.tld/mailman/admin.cgi/mailing_list/members/add
This Mailman has been configured with the "--with-cgi-ext=.cgi" option. In Defaults.py you will probably find CGIEXT = '.CGI' Putting CGIEXT = '' in mm_cfg.py should fix that. But, see below. > In the initial implementation, I was using a ScriptAlias to direct mailman to > the folder, but no rewriting rules. > > ScriptAlias /mailman/ "/usr/local/libexec/mailman/cgi-bin/" > > In the new implementation, I’m using an config Include file in the apache > configuration, as suggested by MacPorts: Is Mailman installed from a MacPort? If so, see <https://wiki.list.org/x/12812344>. > Include /opt/local/etc/httpd/mailman.conf > > Which reads: > > # Mailman configuration file fragment for Apache > > <IfModule mod_alias.c> > ScriptAlias /mailman/ "/opt/local/libexec/mailman/cgi-bin/" > Alias /pipermail/ "/opt/local/var/mailman/archives/public/" > Alias /mailman-icons/ "/opt/local/share/mailman/icons/" > </IfModule> > > <Directory "/opt/local/libexec/mailman/cgi-bin"> > Options Indexes Includes MultiViews SymLinksIfOwnerMatch > AllowOverride FileInfo AuthConfig Limit > Order allow,deny > Allow from all > </Directory> > > <Directory "/opt/local/share/mailman/icons"> > Options none > AllowOverride FileInfo AuthConfig Limit > Order allow,deny > Allow from all > </Directory> > > <Directory "/opt/local/var/mailman/archives/public/"> > Options SymLinksIfOwnerMatch > AllowOverride FileInfo AuthConfig Limit > Order allow,deny > Allow from all > </Directory> > > I’ve read the wikis and the Apache documentation and, have fiddled with the > CGIEXT setting in Defaults.py, which currently reads > > # CGI extension, change using configure script > CGIEXT = '.cgi' > > I have changed it to ‘’ with no success. > > Any help or thoughts would be greatly appreciated. By changed it, do you mean in Defaults.py. If so see <https://wiki.list.org/x/4030588>. You should be putting overrides in mm_cfg.py. If there is a setting for CGIEXT in mm_cfg.py, changing it in Defaults.py will have no effect. Also, did you restart Mailman after this change? If this doesn't explain it, it's some Mac package thing. Look at the definition of ScriptURL() in Mailman/Utils.py. This is where those URLs are generated. -- Mark Sapiro <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] 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
