On Wed, 26 Feb 2003, Bill Hilburn wrote: > My mm_cfg-py reads: (2.1b5) > > DEFAULT_URL_HOST = 'lists.frontier.net' > add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > > Note the add_virtualhost, not sure if you need this in yous or not. > > Also, you may need to run fix_url.py to update your list db files.
I'm setting up 2.1.1 on a test machine with the lists in 'testlists.reading.ac.uk' and the WWW hostname as 'tl.rdg.ac.uk'. I have [in mm_cfg.py] - 'tl' is substituted for the real name: DEFAULT_EMAIL_HOST = 'testlists.reading.ac.uk' DEFAULT_URL_HOST = 'tl.rdg.ac.uk' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) VIRTUAL_HOST_OVERVIEW = 0 This works fine, except that the link to 'Overview of all tl.rdg.ac.uk' mailing lists' link links to 'testlists.reading.ac.uk/mailman/listinfo' (i.e. uses the DEFAULT_EMAIL_HOST as the web host). If I add: DEFAULT_HOST_NAME = 'tl.rdg.ac.uk' Then this fixes that link, but now all lists are created as '[EMAIL PROTECTED]'. I can correct that by creating a list with a domain name (we don't normally do that because all our lists are in one domain), however, the link to 'NewList administrative interface' et al now points at 'http://testlists.reading.ac.uk/mailman/...' - so that's broken! Looking through the code to HTMLFormatter.py, the GetMailmanFooter() function retrieves the URL of the overview page with Link(Utils.ScriptURL('listinfo'), ...). If I change that to Link(self.GetScriptURL('listinfo'), ...) that fixes it, but is that breaking the multi-domain stuff (is the 'Overview' page suppposed to show lists in all domains - if not, I guess this might be a bug?). Comments and people pointing out my stupidity welcome [although restrict my stupidity to this issue, please]. Thanks in advance, - Bob -- Bob Franklin <[EMAIL PROTECTED]> +44 (0)118 378 6630 Systems and Communications, IT Services, The University of Reading, UK ------------------------------------------------------ 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