Re: [Mailman-Users] the list admin overview page
\
I just updated my server from 1.1 to 2 Orc.1 and everything went fine...I think.
However if I click on <the list admin overview page> the link points to /admin/ instead of /mailman/admin/. If I type it in it works. Where is the main page generated from so I can edit this?
- what is "the main page"? mailman/listinfo, you mean? In my page that link points to an absolute path to DEFAULT_URL/admin. That gets to a page titled "<hostname> mailing lists - Admin Links".
In any event, if you're talking about listinfo, it's generated by the listinfo script, which ends up calling listinfo.py in Mailman/Cgi.
Note that DEFAULT_URL must have a trailing / to make that work right. Check that first.
- try lookng at the source of the generated page (listinfo, if that's what we're talking about) to make sure you know what the link text really is. It might be wrong, but the way it shows up in the status line or in the destination URL isn't necessarily exactly what's in the page.
Thanks... I was talking about mailman/listinfo. I found the error. Defaults.py has the trailing /, but it is also defined in mm_cfg.py...that reference to DEFAULT_URL was missing the /.
Again, Thanks for pointing me in the right direction.
Carl
-----Original Message----- From: Dan Mick [mailto:Dan.Mick@West.Sun.COM] Sent: Wednesday, October 25, 2000 7:43 PM To: mailman-users@python.org; carl@sweetlands.com Subject: Re: [Mailman-Users] the list admin overview page
\
I just updated my server from 1.1 to 2 Orc.1 and everything went fine...I think.
However if I click on <the list admin overview page> the link points to /admin/ instead of /mailman/admin/. If I type it in it works. Where is the main page generated from so I can edit this?
- what is "the main page"? mailman/listinfo, you mean? In my page that link points to an absolute path to DEFAULT_URL/admin. That gets to a page titled "<hostname> mailing lists - Admin Links".
In any event, if you're talking about listinfo, it's generated by the listinfo script, which ends up calling listinfo.py in Mailman/Cgi.
Note that DEFAULT_URL must have a trailing / to make that work right. Check that first.
- try lookng at the source of the generated page (listinfo, if that's what we're talking about) to make sure you know what the link text really is. It might be wrong, but the way it shows up in the status line or in the destination URL isn't necessarily exactly what's in the page.
Defaults.py has the trailing /, but it is also defined in mm_cfg.py...that reference to DEFAULT_URL was missing the /.
You probably realize it by now, but it bears repeating: any "configuration variable" should first be searched for in mm_cfg.py, and then, if not present, in Defaults.py; if it needs to change from its default value, put the value in mm_cfg.py; don't ever edit Defaults.py. (Well, hardly ever, as G&S would say.)
Defaults is read, and then mm_cfg, and the new settings in mm_cfg are the "final" settings. Defaults is intended to be "Mailman version defaults", and mm_cfg is "site defaults". Other role splits are possible, of course, but the lesson is that mm_cfg holds sway, so be sure to look and edit there in all but the most exceptional cases.
participants (3)
-
Carl Sweetland
-
Dan Mick
-
Dan Mick