Archive and web link problems with 2.1
I just installed Mailman 2.1 this morning. I'm discovering a couple problems and I'm not sure if they are mine or mailman's.
- When I go to the private archive for a list at http://mcswartz.org.swartz/mailman/private/listname, I see the usual possibilities. Unfortunately the links do not work. For example, to view archives by thread for this year, the URL is:
http://mcswartz.org.swartz/mailman/private/2003q1/thread.html
This doesn't work because it is missing the list name. The correct URL is:
http://mcswartz.org.swartz/mailman/private/listname/2003q1/thread.html
Is this a problem in Mailman, or is my configuration wrong somehow? I installed Mailman 2.1 from source into the default location. I'm running RedHat7.3, so this was not the location where Mailman 2.0.13 was installed. After everything was installed, I moved my lists to the new location (from /var/mailman/lists to /usr/local/mailman/lists).
- I'm not sure if this is a problem or is as intended. I am running a small personal network. My server computer, which runs sendmail and apache, is inside my network and behind my firewall/router. Because of this, I need have aliases set up that allow me to access my webpages. That means that although my real site is www.mcswartz.org, I access it internally as mcswartz.org.swartz (as I showed above).
My problem is that on some of the administration pages, some links link to http://mcswartz.org.swartz/mailman/... and other's link to http://www.mcswartz.org/mailman/...
For example, from http://mcswartz.org.swartz/mailman/admin/listname/members, I can access all of the "configuration categories" correctly, but I cannot "Go to list archives". Even more annoying, I can only see the A's that are subscribed to my list because all of the other letters link to the www.mcswartz.org URLs, which I cannot access internally.
"JS" == John Swartzentruber <johnslists@mcswartz.org> writes:
JS> 1. When I go to the private archive for a list at
JS> http://mcswartz.org.swartz/mailman/private/listname, I see the
---------------^^^^^^^^^^^^^^^^^^^
Wow, I wasn't aware that "swartz" was a new TLD. :)
JS> Is this a problem in Mailman, or is my configuration wrong
JS> somehow? I installed Mailman 2.1 from source into the default
JS> location. I'm running RedHat7.3, so this was not the location
JS> where Mailman 2.0.13 was installed. After everything was
JS> installed, I moved my lists to the new location (from
JS> /var/mailman/lists to /usr/local/mailman/lists).
Check your Defaults.py and mm_cfg.py files to see if things like PUBLIC_ARCHIVE_URL make sense.
JS> 2. I'm not sure if this is a problem or is as intended. I am
JS> running a small personal network. My server computer, which
JS> runs sendmail and apache, is inside my network and behind my
JS> firewall/router. Because of this, I need have aliases set up
JS> that allow me to access my webpages. That means that although
JS> my real site is www.mcswartz.org, I access it internally as
JS> mcswartz.org.swartz (as I showed above).
Ah.
JS> My problem is that on some of the administration pages, some
JS> links link to http://mcswartz.org.swartz/mailman/... and
JS> other's link to http://www.mcswartz.org/mailman/...
JS> For example, from
JS> http://mcswartz.org.swartz/mailman/admin/listname/members, I
JS> can access all of the "configuration categories" correctly,
JS> but I cannot "Go to list archives". Even more annoying, I can
JS> only see the A's that are subscribed to my list because all of
JS> the other letters link to the www.mcswartz.org URLs, which I
JS> cannot access internally.
I don't think Mailman's gong to work to well this way. Basically, you can't give lists multiple personalities. You'll probably have to do some fancy redirections with Apache to make this work.
-Barry
On Thu, 2 Jan 2003 23:09:15 -0500, Barry A. Warsaw wrote:
"JS" == John Swartzentruber <johnslists@mcswartz.org> writes:
JS> 1. When I go to the private archive for a list at JS> http://mcswartz.org.swartz/mailman/private/listname, I see the ---------------^^^^^^^^^^^^^^^^^^^
Wow, I wasn't aware that "swartz" was a new TLD. :)
Well, you learn something new every day :-)
JS> Is this a problem in Mailman, or is my configuration wrong JS> somehow? I installed Mailman 2.1 from source into the default JS> location. I'm running RedHat7.3, so this was not the location JS> where Mailman 2.0.13 was installed. After everything was JS> installed, I moved my lists to the new location (from JS> /var/mailman/lists to /usr/local/mailman/lists).
Check your Defaults.py and mm_cfg.py files to see if things like PUBLIC_ARCHIVE_URL make sense.
It has the default value in Default.py, and I haven't overridden it in mm_cfg.py. It is: PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/pipermail/%(listname)s'
It seems that if this value were bad, it would not get me to the main archives page. As it is, I can get there fine, but the links on that page are incorrect. I don't know Python (I'm pretty much 100% C++ for the last 12 years), but if you give me some pointers, I could try to snoop around a bit.
Actually, I just found something interesting. It might be an Apache configuration problem. If so and someone has a clue, I'd appreciate hearing about it.
When I use this URL:
http://mcswartz.org.swartz/mailman/private/listname
The links (which I see are relative), leave out the "listname" part.
But when I use this URL:
http://mcswartz.org.swartz/mailman/private/listname/
The links include the "listname" part and work correctly.
JS> My problem is that on some of the administration pages, some JS> links link to http://mcswartz.org.swartz/mailman/... and JS> other's link to http://www.mcswartz.org/mailman/...
JS> For example, from JS> http://mcswartz.org.swartz/mailman/admin/listname/members, I JS> can access all of the "configuration categories" correctly, JS> but I cannot "Go to list archives". Even more annoying, I can JS> only see the A's that are subscribed to my list because all of JS> the other letters link to the www.mcswartz.org URLs, which I JS> cannot access internally.
I don't think Mailman's gong to work to well this way. Basically, you can't give lists multiple personalities. You'll probably have to do some fancy redirections with Apache to make this work.
Couldn't Mailman produce the URLs more consistently? For example, when I look at the HTML, some of the links start with "../../../admin/", and some of them start with "http://www.mcswartz.org/mailman/admin/". The relative URLs work fine for me, but the absolute ones don't.
Thanks for your help.
participants (2)
-
barry@python.org
-
John Swartzentruber