[Mailman-Users] port number

Mark Sapiro msapiro at value.net
Sat Jun 17 23:54:39 CEST 2006


Gerrit Bosch wrote:
>
>Sorry to bother you out there with this newbie question:
>Is it possible to change the portnumber for the webinterface to 
>anything else than 80?
>Thus avoiding interference with another webserver on the  same subnet.


To make the links on the Mailman web pages include the port, you need
to add the port to DEFAULT_URL_PATTERN by putting something like the
following in mm_cfg.py

DEFAULT_URL_PATTERN = http://%s:8080/mailman/

(using port 8080 for example, and assuming no other change to the
default).

This will suffice for new lists, but for existing lists you need to run
fix_url to update the list and also bin/arch to fix absolute links in
the list's archives.

Run

bin/fix_url.py

standalone to get its usage, and

bin/arch --help

-- 
Mark Sapiro <msapiro at value.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