[Mailman-Users] Strangenesses with URLs in the admin/listinfo pages

Todd Freedom_Lover at pobox.com
Wed Jul 23 06:11:34 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Don Levey wrote:
> My web server is running on a non-standard port.  Thus, any URL I use
> appends the port number to the host name (http://www.domain.tld:7080).  By
> playing with the URL parameters in the mm_cfg.py file (copied from the
> Defaults.py file), I've managed to get *most* of the links on the admin and
> info (etc) pages to display properly.  However, the link to the Archives
> will NOT append that info.  Here's what I've got (not the real values):
>
> 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/'
> VIRTUAL_HOSTS.clear()
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
> The link for the archives consistently shows as:
> http://www.domain.tld/pipermail/soapbox/

I think you want to also set PUBLIC_ARCHIVE_URL.  See the comment in
Defaults.py.  I don't know if you have to recreate the archives or anything
after changing this.  Hopefully someone else will.  Or you can try it and
see.  You should restart the mailman service though, AFAIK.

There might be more on this in the archives too, now that you know to search
for PUBLIC_ARCHIVE_URL.

- -- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
Those who make peaceful revolution impossible will make violent revolution
inevitable.
    -- John F. Kennedy, 1962

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE/Hgr2uv+09NZUB1oRAvdyAJ9KeUpnOZ0YJwWH4DgytMeVjltKBACeI28d
yQxKUuCsATJBX6NH6gStgV4=
=OLxG
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list