Private archives link error

Bug #265950 reported by Soranzo on 2003-08-03
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Medium
Unassigned

Bug Description

If I visit

http://domain/mailman/private/listname/

all the links to the Thread, Subject, ... monthly
archives are correct, but if the URL is

http://domain/mailman/private/listname

(without the trailing slash), the links are incorrect,
eg.:

http://domain/mailman/private/2003-July/thread.html

(without the listname between private and the month).

[http://sourceforge.net/tracker/index.php?func=detail&aid=782024&group_id=103&atid=100103]

A quick fix is to add a redirect in your web server.

But since the List-Archive mail header points to the link
without a trailing slash, this should be done in the cgi
script, too.

Halw (halw) wrote :

Note: this bug is still in 2.1.4, and affects users since
the URL provided by mailman in the List-Archive: email
header does not contain the trailing slash.

Timmann (timmann) wrote :

Example of the quick fix in httpd.conf for anyone who needs it:

RewriteEngine on
RewriteRule ^(/mailman/private/[a-z]*)$ $1/ [R]

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers