apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: svn commit: r490422 - in /apr/site/trunk: docs/ docs/docs/apr-iconv/ docs/docs/apr-iconv/0.9/ docs/docs/apr-iconv/1.1/ docs/docs/apr-iconv/trunk/ docs/docs/apr-util/ docs/docs/apr-util/0.9/ docs/docs/apr-util/1.2/ docs/docs/apr-util/trunk/ docs/d
Date Wed, 27 Dec 2006 21:52:48 GMT
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]


View raw message