Listinfo.html Template . . .

I have noticed that when attempting to access the archives for both my public
lists, that they are directed to the path /pipermail/, instead
of /pipermail/listname. I checked the /etc/mailman/en/listinfo.html file and
it has <MM-Archive><MM-List-Name> where it ought to be, but the list name is
not being added. I also checked via the web editing interface, and it shows
that the list name should be being added. I tried searching the mail list
archives and the FAQ, but didn't see anything that addressed my question.
Where can I look or what can I do to fix this? Thanks.
-- Jason Flatt (jason @ flattfamily . com) Father of five (http://www.flattfamily.com/) Linux user (http://www.sourcemage.org/) IRC Nick: Oadae Channels: #sourcemage, #lvlug Server: irc.freenode.net

Jason Flatt wrote:
I have noticed that when attempting to access the archives for both my public lists, that they are directed to the path /pipermail/, instead of /pipermail/listname. I checked the /etc/mailman/en/listinfo.html file and it has <MM-Archive><MM-List-Name> where it ought to be, but the list name is not being added. I also checked via the web editing interface, and it shows that the list name should be being added. I tried searching the mail list archives and the FAQ, but didn't see anything that addressed my question.
Where can I look or what can I do to fix this? Thanks.
Actually, the <MM-List-Name> tag in the template only provides the list name in the name of the link that renders on the page. The URL of the link comes as part of the <MM-Archive> tag. The URL is generated in the function GetBaseArchiveURL() which is defined in Mailman/Archiver/Archive.py. It uses PUBLIC_ARCHIVE_URL as a format. This is defined in Defaults.py as
PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'
Have you changed this definition in mm_cfg.py?
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

On Sunday 31 October 2004 8:03 am, Mark Sapiro wrote:
Actually, the <MM-List-Name> tag in the template only provides the list name in the name of the link that renders on the page. The URL of the link comes as part of the <MM-Archive> tag. The URL is generated in the function GetBaseArchiveURL() which is defined in Mailman/Archiver/Archive.py. It uses PUBLIC_ARCHIVE_URL as a format. This is defined in Defaults.py as
PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'
Have you changed this definition in mm_cfg.py?
Guilty as charged. I guess I'd better go back through that file and verify all my changes to make sure I haven't broken anything else. :(
-- Jason Flatt (jason @ flattfamily . com) Father of five (http://www.flattfamily.com/) Linux user (http://www.sourcemage.org/) IRC Nick: Oadae Channels: #sourcemage, #lvlug Server: irc.freenode.net
participants (2)
-
Jason Flatt
-
Mark Sapiro