Uniform URL handling on default archiver

Bug #285820 reported by RickvanderZwet
2
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

As the archive URL depends on the current permission on the list it is not very persistent, as it is in general - http://www.w3.org/Provider/Style/URI - it is a good thing to keep the archive URL persistent, to allow for example much more easy external linking and integrating I have created some small patches against 2.1.11 which creates this feature.

To enable the patch
$ cd $MAILMANBASE
$ patch -p0 <Mailman+Cgi+private-py.diff
$ mv Mailman/Cgi/private.py Mailman/Cgi/archive.py
$ patch -p0 <mailman-2-1-11.diff
# Dirty way of hacking the right way, alter the Makefile if you want to do it nicely
$ sed 's/private/archive/g' cgi-bin/private > cgi-bin/archive
$ chmod +s cgi-bin/archive

If terms of keeping the old links working, this apache config will do the trick

RewriteEngine on
RewriteRule ^/pipermail(.*) /mailman/archive$1 [L,R=301]
RewriteRule ^/mailman/private(.*) /mailman/archive$1 [L,R=301]

If you want me to port it to 2.2 or 3.0 please let me know.

Revision history for this message
RickvanderZwet (rickvanderzwet) wrote :
Revision history for this message
RickvanderZwet (rickvanderzwet) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.