[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

(forw) Re: Shorter URLs for the mail archive?



Hi,

as discussed with Josip Rodin on IRC, I'm forwarding my ideas for the
list archives URL to debian-www, and hope to get some answers about
the ideas.

If there are any open issues with that, please don't hesitate to ask
me.


Cheers,
Andi

----- Forwarded message from Andreas Barth <aba@not.so.argh.org> -----

From: Andreas Barth <aba@not.so.argh.org>
To: listarchives@debian.org
Subject: Re: Shorter URLs for the mail archive?
Date: Sat, 6 Mar 2004 13:37:15 +0100
Message-ID: <20040306123715.GA1852@mails.so.argh.org>
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.3.28i

* Cesar Mendoza (mendoza@kitiara.org) [040306 12:55]:
> Sure, any contribution would be welcome.

These two lines do the trick on my system here:
RewriteRule     /([^/]*)/([^/]*)/(..)/(.*)      /$1/$2/$1-$2$3/$4 [PT,L]
RewriteRule     /([^/]*)/([^/]*)/.+(..)/(.*)    /$1/$2/$3/$4 [R]

The first makes that for
http://lists.debian.org/debian-devel-announce/2004/02/msg00014.html
the right files are read from disk.
The second redirects any current form-URLs to the new form (however,
it doesn't look for validity, so something like
http://lists.debian.org/debian-devel-announce/2004/debian-devel-200502/msg00014.html
would be redirected to the URL above, which is of course wrong).

I hope that helps. If there are any open issues with that, please
don't hesitate to ask me, via mail or via IRC, nick aba.


Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C

----- End forwarded message -----

-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C



Reply to: