It's bit 6 months since the redirects were put in place, and we're about
to release 2.2. Is it time that

        /docs/blah redirected to "/docs/2.2/blah"

?

The vast vast majority of urls are compatible, and for those that are
not, we can do;

        <Directory /wherever/docs/>
          RewriteCond   %{REQUEST_FILENAME} !-f         
          RewriteCond   %{REQUEST_FILENAME} !-d         
          RewriteRule   ^/docs(.+)$     $1

          RewriteCond   /wherever/docs/2.2%{REQUEST_FILENAME} -f [OR]
          RewriteCond   /wherever/docs/2.2%{REQUEST_FILENAME} -d 
          RewriteRule   ^(.+)$  /docs/2.2$1             [R,L]

          RewriteCond   /wherever/docs/2.0%{REQUEST_FILENAME} -f [OR]
          RewriteCond   /wherever/docs/2.0%{REQUEST_FILENAME} -d 
          RewriteRule   ^(.+)$  /docs/2.0$1             [R,L]

          RewriteCond   /wherever/docs/1.3%{REQUEST_FILENAME} -f [OR]
          RewriteCond   /wherever/docs/1.3%{REQUEST_FILENAME} -d 
          RewriteRule   ^(.+)$  /docs/1.3$1             [R,L]
        </Directory>

So there should be no broken links. We need to do this some time, and
co-inciding with the 2.2 release seems like a good opportunity.

-- 
Colm MacCárthaigh                        Public Key: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to