On Wed, 2006-12-27 at 16:38 -0500, Garrett Rooney wrote:

> I guess it depends on our goal.  If we're trying to preserve old
> links, it should redirect to the 0.9 versions, since that's what they
> used to be linking to.  If we want to provide a set of links that go
> to the latest version, then to the latest version, but those are two
> separate goals.

Something like this then:

RewriteEngine on
RewriteRule ^/docs/apr/([A-Za-z_]+).html$ /docs/apr/0.9/$1.html [R,L]
RewriteRule ^/docs/apr-util/([A-Za-z_]+).html$ /docs/apr-util/0.9/$1.html [R,L]
RewriteRule ^/docs/apr-iconv/([A-Za-z_]+).html$ /docs/apr-iconv/0.9/$1.html 
[R,L]

-- 
Bojan

Reply via email to