-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gour wrote: > Todd ([EMAIL PROTECTED]) wrote: [...] >> All right. I see now. When you look at the code for >> GetBaseArchiveURL(), you see that it inverts the VIRTUAL_HOST >> dictionary (or is it a list?) and uses emailhost as the key. So with >> the emailhost the same for all virtual hosts, the inv dictionary only >> has one value for the key 'lists.domain.com' and it will be whichever >> one was returned last in the for loop. Can you set the virtual hosts >> up more like this?
>> VIRTUAL_HOSTS.clear() >> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >> add_virtualhost('www.virtualdomain1.com','virtualdomain1.com') >> add_virtualhost('www.virtualdomain2.com','virtualdomain2.com') >> Then use the fix_url script to update the lists and I *think* that >> will result in the right url getting used for your archives. > > YES!! It works. I'd never come to this. Thank you VERY much. Cool. Not a problem. I learned a few things in the process. > But, can I bet that it's a Mailman bug since I assume that the setup > which I had, should work? It might just be more like a mis-feature. :) As near as I can tell, the reason the lookup for the urlhost is done this way is that emailhost is really the only part of that pair that is stored in the config.pck file. This could be worked around if there was also a urlhost value stored there, but I would bet that Barry and the other Mailman developers do it this way for a reason. I'd have to go back and look at a config file from the 2.0 days to see if this has changed from mm2.0 to mm2.1. I know that the web GUI used to have a way to edit the web_page_url value and that was removed because it made it too easy for people to break their lists oh so conveniently and then it required a site admin to use the command line to correct it. I suppose if it really bugs you, you might be able to add a urlhost value to the config.pck file and then modify the GetBaseArchiveURL() call to look for it instead of using the current method. How much work that might entail or if it would have some unforeseen drawbacks, I don't know. - -- Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp ====================================================================== The reason we have elected officials is so that we don't have to think for ourselves. -- Homer Simpson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl. iD8DBQE/4OKcuv+09NZUB1oRAgqcAKDIW0z+ngg4cJ2qbTqErEJdDLcWigCguqc3 dkZZL9pnq+Yn3GdyDtusYfk= =d15x -----END PGP SIGNATURE----- ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org