[Mailman-Users] Changing the mailman access url
Mark Sapiro
mark at msapiro.net
Thu Jan 3 14:21:07 EST 2019
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 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