
Hi again, Just a quick question in this one. I've been running Mailman for a long time (2.1.5 patched to 2.1.6 from memory) on one of my servers. In the administration & general GUI HTML pages, if I go to the URL & enter the password, it will then redirect me to a different URL that starts with the hostname of the server - for example:
http://domain.com/mailman/admin/listname (then I log in to the Mailman admin interface)
Click a link such as General Options which will redirect to:
http://hostname.domain.com/mailman/listname/general (also prompting me to relogin with password details)
I wonder if someone could direct me as to where to correct
this so it doesn't redirect to the server's hostname - all other lists on the server work fine. I am guessing this will be somewhere within the config for the list but I don't want to be playing around & ruin something. Many thanks for any assistance.
Bye for now, Terry Allen
___________________________________________________________________
hEARd
Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: hmag@ozemail.com.au Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400
Non profit promotion for new music - since 1994

Terry Allen wrote:
The http://hostname.domain.com/mailman/ part of that comes from a hidden list attribute named web_page_url. To change this, you can run
bin/withlist -l -r fix_url listname -u domain.com
See <http://www.python.org/cgi-bin/faqw-mm.py?query=web_page_url&querytype=simple&casefold=yes&req=search> for more details.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Hi again, Outstanding - many thanks Mark, worked a treat. A shame with the years of list archives I would have to go back & do a huge batch edit to remove the hostname from the archives, but they can stay that way, too much work. The URL will be correct now anyhow.
--
Bye for now, Terry Allen
___________________________________________________________________
hEARd
Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: hmag@ozemail.com.au Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400
Non profit promotion for new music - since 1994

Terry Allen wrote:
You can fix the archives automatically, but there are caveats. You fix the archive with
bin/arch --wipe listname
This rebuilds the HTML archive from the archives/private/listname.mbox/listname.mbox file.
The caveats are:
You need to check the archive for unescaped "From " lines in message bodies which confuse bin/arch. bin/cleanarch can help with this.
Rebuilding the archive may result in messages being assigned new message numbers which will result in any existing, saved URLs of archived messages becoming invalid or retrieving the wrong message.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Terry Allen wrote:
The http://hostname.domain.com/mailman/ part of that comes from a hidden list attribute named web_page_url. To change this, you can run
bin/withlist -l -r fix_url listname -u domain.com
See <http://www.python.org/cgi-bin/faqw-mm.py?query=web_page_url&querytype=simple&casefold=yes&req=search> for more details.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Hi again, Outstanding - many thanks Mark, worked a treat. A shame with the years of list archives I would have to go back & do a huge batch edit to remove the hostname from the archives, but they can stay that way, too much work. The URL will be correct now anyhow.
--
Bye for now, Terry Allen
___________________________________________________________________
hEARd
Postal Address: hEARd, 26B Glenning Rd, Glenning Valley, NSW 2261, Australia Internet - WWW: http://heard.com.au http://itavservices.com EMAIL: hmag@ozemail.com.au Phone: Australia - 02 4388 1400 / International - + 61 2 43881400 Mobile: Australia - 04 28881400 / International - 61 4 28881400
Non profit promotion for new music - since 1994

Terry Allen wrote:
You can fix the archives automatically, but there are caveats. You fix the archive with
bin/arch --wipe listname
This rebuilds the HTML archive from the archives/private/listname.mbox/listname.mbox file.
The caveats are:
You need to check the archive for unescaped "From " lines in message bodies which confuse bin/arch. bin/cleanarch can help with this.
Rebuilding the archive may result in messages being assigned new message numbers which will result in any existing, saved URLs of archived messages becoming invalid or retrieving the wrong message.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Terry Allen