mailman list archive links not working with virtual hosts

Bug #265936 reported by Blackisha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Medium
Unassigned

Bug Description

any mailman page with a link to the archives page for a
mailing-list on a virtual-host, points to the primary
hostname, instead of pointing to the virtual-domain.

try this page for an example of the problem
http://itomic.com/mailman/listinfo/asaconsultants_itomic.com

the Asaconsultants archives link points to
http://earth.itomic.com/pipermail/asaconsultants_itomic.com/
which is the primary hostname of the server on which
itomic.com resides. it should point to
http://itomic.com/pipermail/asaconsultants_itomic.com

p.s. this list was recently upgraded to 2.1.2 by make
install-ing into a previously existing mailman (2.0.13)
directory (it said things in make install about
upgrading, so I assumed it was handling ok)

[http://sourceforge.net/tracker/index.php?func=detail&aid=767596&group_id=103&atid=100103]

Revision history for this message
Leftlink (leftlink) wrote :

This bug should renamed:

"LIST Archive Links Broken After 2.1 Upgrade."

That's because it is one of several problems with updating: it
appears that on one machine where the list info is at:

domain.org/cgi-bin/mailman/listinfo/nosi-steering

the archives link for this list points to:

domain.org/pipermail/

i.e. the list name vanishes.

Revision history for this message
Thomas-ah-users (thomas-ah-users) wrote :

leftlink: Remove PUBLIC_ARCHIVE_URL from mm_cfg.py since
this will be calculated by Defaults.py

blackisha (and maybe leftlink, too): You need to use
add_virtualhost statements in your mm_cfg.py:
DEFAULT_EMAIL_HOST = 'itomic.com'
DEFAULT_URL_HOST = DEFAULT_EMAIL_HOST
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

We just stumbled into the same problems here :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.