Mercurial > web-octave
changeset 140:0dfc0d62f356
.htaccess: redirect doc* to https://www.octave.org/doc
At the OctConf 2018 we made the decision to maintain the documentation on
the Dreamhost server rather than Savannah.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 13 Mar 2018 18:08:21 +0100 |
parents | d48d73a30c56 |
children | a1e10b6b99b8 |
files | .htaccess |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/.htaccess Tue Mar 13 18:05:42 2018 +0100 +++ b/.htaccess Tue Mar 13 18:08:21 2018 +0100 @@ -17,10 +17,8 @@ RewriteBase /software/octave/ -RewriteRule ^octave.pdf doc/octave-4.2.1.pdf [L] RewriteRule ^NEWS.html NEWS-4.2.html [L] RewriteRule ^contribute.html get-involved.html [L] RewriteRule ^img/screenshot.png img/screenshot-octave-4-2.png [L] -RewriteRule ^doc/interpreter$ doc/interpreter/ [R,L] -RewriteRule ^doc/interpreter/(.*) doc/v4.2.1/$1 [L] +RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L]