[Mailman-Users] broken URL link for public archive lists

Mark Sapiro mark at msapiro.net
Tue Jul 28 17:22:19 CEST 2009

Mark Sapiro wrote:

>geraud.guibert at free.fr wrote:
>>to be more precise, here is a piece of broken HTML code
>>(https://mailman.onera/mailman/listinfo/test) :
>><p> Pour voir tous les messages pass&eacute;s de la liste, visitez les
>><a href="https://{'listname': 'test',
>>Archives de test</a>.
>It appears that you have overridden PUBLIC_ARCHIVE_URL in mm_cfg.py and
>in so doing have changed the default
>PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'
>to something like
>PUBLIC_ARCHIVE_URL = 'http://%s:443/pipermail/%(listname)s'
>Replacing %(hostname)s with %s causes it to be interpolated with the
>entire dictionary {'listname': 'test',
>'hostname':'mailman.onera:443'} instead of just the 'hostname' value

Also, It appears you have the port in both the pattern and the url
host. The preferred way to specify ports is in the patterns
PUBLIC_ARCHIVE_URL and DEFAULT_URL_PATTERN, and not in the url host.

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