Changing the mailman access url

I have manually installed mailman and moved the files. This is on the same server. Now my problem is the urls: I have http://FQDN/cgi-bin/mailman/admin/LISTNAME which I would like to change to http://FQDN/mailman/admin/skunkworks - ideally, just eliminating the /cgi-bin/ bit.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)

On 1/3/19 12:36 PM, Odhiambo Washington wrote:
I have manually installed mailman and moved the files. This is on the same server. Now my problem is the urls: I have http://FQDN/cgi-bin/mailman/admin/LISTNAME which I would like to change to http://FQDN/mailman/admin/skunkworks - ideally, just eliminating the /cgi-bin/ bit.
This does not look like a Mailman configuration issue. This is something easily done in your Apache configuration.
Try this:
ScriptAlias /mailman /usr/lib64/mailman/cgi-bin/
(or whatever your actual path is)
<Location /mailman>
SetHandler cgi-script
Options +MultiViews
Require all granted
</Location>
-- Phil Stracchino Babylon Communications phils@caerllewys.net phil@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958

On 1/3/19 9:36 AM, Odhiambo Washington wrote:
I have manually installed mailman and moved the files. This is on the same server. Now my problem is the urls: I have http://FQDN/cgi-bin/mailman/admin/LISTNAME which I would like to change to http://FQDN/mailman/admin/skunkworks - ideally, just eliminating the /cgi-bin/ bit.
You need a couple of things. You need to configure your web server to do the right thing. For example, with Apache you may have
ScriptAlias /cgi-bin/mailman/ /path/to/mailman/cgi-bin/
and that needs to be changed to
ScriptAlias /mailman/ /path/to/mailman/cgi-bin/
You also need to change something like
DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
to
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
and run fix_url on all lists. See <https://wiki.list.org/x/4030616>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro
-
Odhiambo Washington
-
Phil Stracchino