[EMAIL PROTECTED] wrote:

>I have recently set up a new installation of Mailman 2.1.5. All is 
>working OK but the URLs generated in the admin interface have the 
>domain name repeated.
>
>e.g. In the main list webpage at 
>http://mailman.mydomain.org/mailman/admin
>
>The link to the Mailman list appears as:
>http://mailman.mydomain.org/mailman/mailman.mydomain.org/admin/mailman
>
>I have tried altering Defaults.py but can't seem to get it working.
>
>Defaults.py includes:
>DEFAULT_EMAIL_HOST = 'mydomain.org'
>DEFAULT_URL_HOST = 'mailman.mydomain.org'
>DEFAULT_URL_PATTERN = 'http://%s/mailman/'
>
<snip>

You shouldn't be changing Defaults.py. See
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.021.htp

This isn't the problem though (unless you have things in mm_cfg.py that
override your Defaults.py changes). The problem is that changes to
DEFAULT_EMAIL_HOST, DEFAULT_URL_HOST and DEFAULT_URL_PATTERN don't
affect web_page_url for existing lists. You have to run fix_url.py
(runs under bin/withlist; run bin/fix_url.py for instructions) to
update existing lists after you change any of these. See
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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/

Reply via email to