FW: TR : [Mailman-Users] missing port number :8000 in the list overviewURL.

Nicolas C. cocomail at bigfoot.com
Fri Jul 25 09:40:06 CEST 2003


Hi,

I find it working using:

	############## GOOD ONE #################
	# Put YOUR site-specific settings below this line.
	DEFAULT_URL_HOST    = 'my.machine.domain.com'
	DEFAULT_EMAIL_HOST  = 'my.machine.domain.com'
	DEFAULT_URL_PATTERN = 'http://%s:8000/mailman/'
	add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

my error was to use the following configuration:

	############## BAD ONE ##################
	# Put YOUR site-specific settings below this line.
	DEFAULT_URL_HOST    = 'my.machine.domain.com:8000'
	DEFAULT_EMAIL_HOST  = 'my.machine.domain.com'
	DEFAULT_URL_PATTERN = 'http://%s:8000/mailman/'
	add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

The result was that all old mailing lisst was working, but when a new one
was created, I have the port :8000 in doouble on certain URL (administration
interface, ...):  my.machine.domain.com:8000:8000

I post this if someone fall in the same problem.
That's more simple that below, since I did use MAILMAN_URL field.


To my config, I have 3 more fields too and the archive work well:

PUBLIC_ARCHIVE_URL = "/MHonArc/%(listname)s"
PUBLIC_EXTERNAL_ARCHIVER  = "/MHonArc/bin/mhonarc -add -outdir
/MHonArc/html/%(listname)s >> /tmp/out_external_archiver"
PRIVATE_EXTERNAL_ARCHIVER = "/MHonArc/bin/mhonarc -add -outdir
/MHonArc/html/%(listname)s >> /tmp/out_external_archiver"

I don't know why there is not PRIVATE_ARCHIVE_URL in the config ... that's
missing to make external archiver private list. It is always pointing
towards the mailman HTML mailing list and not the external archiver.
The use of "add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)", is
confused to me, may be this is usefull with several domain, but I still
didn't understand why this is needed.

regards,


-----Message d'origine-----
De : Don Levey [mailto:spam at the-leveys.us]
Envoyé : jeudi 24 juillet 2003 16:16
À : mailman-users at python.org
Objet : RE: [Mailman-Users] missing port number :8000 in the list
overviewURL.

I just ran into a similar problem, using non-standard ports.
What I was finding was that changing the formats/values affected *some*
links but not others.
Here's what I've got that now works (fix_url is your friend!):

DEFAULT_EMAIL_HOST = 'domain.tld'
DEFAULT_URL_HOST = 'www.domain.tld'
DEFAULT_URL_PATTERN = 'http://%s:7080/mailman/'
MAILMAN_URL = 'http://www.domain.tld:7080/'
PUBLIC_ARCHIVE_URL = 'http://%(hostname)s:7080/pipermail/%(listname)s'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

The FAQ works, and is helpful - but the archive URL hint is a little
burried
for the impatient or over-confident.
 -Don

-----Original Message-----
From: mailman-users-bounces+don_mailman=the-leveys.us at python.org
[mailto:mailman-users-bounces+don_mailman=the-leveys.us at python.org]On
Behalf Of Richard Barrett
Sent: Thursday, July 24, 2003 5:32 AM
To: Nicolas C.
Cc: mailman-users at python.org
Subject: Re: [Mailman-Users] missing port number :8000 in the list
overviewURL.


see about half way down this FAQ page for how to deal with this issue:

  http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp

On Thursday, July 24, 2003, at 09:11 AM, Nicolas C. wrote:

> Hi,
>
> I have this in the mm_cfg.py:
> 	DEFAULT_URL_HOST    = 'my.machine.domain.com:8000'
> 	DEFAULT_EMAIL_HOST  = 'my.machine.domain.com'
> 	add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
> on the URL:
> http://my.machine.domain.com:8000/mailman/listinfo
>
> The link of 'the list admin overview page'    in the sentence "List
> administrators, you can visit the list admin overview page to find the
> management interface for your list. "
>
> the link is pointing towards:
> http://my.machine.domain.com/mailman/admin
>
> why the :8000 is missing, I use mailman 2.1.2 ?
>
> regards,


------------------------------------------------------
Mailman-Users mailing list
Mailman-Users at 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/

This message was sent to: don_Mailman at the-leveys.us
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/don_mailman%40the-l
evey
s.us








More information about the Mailman-Users mailing list