Re: [Mailman-Users] Transfering mailman lists between servers
Ok. I fixed the errors. The 403 Forbidden was caused by restoring logical links dependent upon a different directory layout than that used by CentOS4 (RHEL4), "/var/mailman/archives/public" vice "/var/lib/mailman/archives/public."
The logical links that got tarred from the old host pointed to "<listname> -> /var/mailman/archives/private/<listname>", which is a directory structure that does not exist on the new server, hence the error. Repairing the logical links to "<listname> -> /var/lib/mailman/archives/private/<listname>" fixed that problem.
The problem with mapping the fqdn host to the mailman alias I accomplished by adding the following to the mailman.conf file.
# Stolen shamelessly from # http://httpd.apache.org/docs/misc/rewriteguide.html # [NC] No Case matching in regexp
RewriteCond %{HTTP_HOST} !^inet07\.(.*)\.otherdomain\.tld [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://mailman.domain.tld/$1
# Uncomment the following line, replacing www.example.com with your # server's name, to redirect queries to /mailman to the listinfo # page (recommended). # [L,R] Last directive to match, Return without condition code. # [R=###] is available as an alternative (### = condition code).
RedirectMatch ^/mailman[/]*$ http://mailman.halisp.net/mailman/listinfo [L,R]
Thanks for the help.
Regards, Jim
--
*** e-mail is not a secure channel ***
mailto:byrnejb.<token>@harte-lyne.ca
James B. Byrne Harte & Lyne Limited
vox: +1 905 561 1241 9 Brockley Drive
fax: +1 905 561 0757 Hamilton, Ontario
<token> = hal Canada L8E 3C3
On Tue, 2005-03-29 at 17:13 -0500, James B. Byrne wrote:
Ok. I fixed the errors. The 403 Forbidden was caused by restoring logical links dependent upon a different directory layout than that used by CentOS4 (RHEL4), "/var/mailman/archives/public" vice "/var/lib/mailman/archives/public."
The version of mailman in rawhide and the version set to appear in FC4 has a migration script that moves directories and files from the old layout to the new FHS layout. It is located in /usr/share/doc/mailman- */contrib and documentation on the directory structure and change can be found in /usr/share/doc/mailman-*/INSTALL.REDHAT.
John Dennis jdennis@redhat.com
participants (2)
-
James B. Byrne
-
John Dennis