[Mailman-Users] upgrade, problem with archives on vhost.
Tril
tril at tunes.org
Sun Mar 14 06:03:53 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Mar 14, 2004 at 02:28:27AM +0000, John R Pierce wrote:
> Hey. I just upgraded my 2.0.x(3?) to 2.1.4, and after some struggle to get
> it all working again, everything is flying, *except*...
>
> The lists that are on my 'native' domain are working great, but the ones on
> my alternate virtual hostnames aren't linking to the archives properly.
>
> for instance, on http://www.hogranch.com/mailman/listinfo/strawberry the
> archive link goes to http://www.hogranch.com/mailman/private/strawberry/ as
> it should...
>
> But, on http://troop604.org/mailman/listinfo/families the archives link is
> http://troop604.org/pipermail/
>
> which is obviously wrong. AH, it seems if I set the archives to PRIVATE,
> the link works (.../mailman/private/<listname>), but if its set to 'PUBLIC',
> it comes up wrong.
>
> any clues?
Looks like a bug in 2.1.4.
I made the following change to HTMLFormatter.py in the Mailman directory
which works for me.
- --- HTMLFormatter.py Mon Sep 29 08:01:22 2003
+++ HTMLFormatter.py.new Sat Mar 13 20:58:13 2004
@@ -326,7 +326,7 @@
return ('<FORM Method=POST ACTION="%s">' % full_url)
def FormatArchiveAnchor(self):
- - return '<a href="%s">' % self.GetBaseArchiveURL()
+ return '<a href="%s">' % (self.GetBaseArchiveURL() + self.internal_name() + '/')
def FormatFormEnd(self):
return '</FORM>'
- --
Tril 0. Byte <tril at tunes.org> http://tril.tunes.org/
PGP key fingerprint: DADB ED32 6E54 80D0 7E69 7549 C3A3 446F CAA4 66C0
This message is placed in the public domain.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFAU+e5w6NEb8qkZsARAklsAKC4QR1/ESBFj42hnYLQsV5nzRH+PgCgnGIc
0+7KF60vs0qnUDp8qQWdsFo=
=CbIH
-----END PGP SIGNATURE-----
More information about the Mailman-Users
mailing list