Mercurial > web-octave
comparison .htaccess @ 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 | 6e120f63dd35 |
children | 1d62ce9ef4d6 |
comparison
equal
deleted
inserted
replaced
139:d48d73a30c56 | 140:0dfc0d62f356 |
---|---|
15 | 15 |
16 RewriteEngine on | 16 RewriteEngine on |
17 | 17 |
18 RewriteBase /software/octave/ | 18 RewriteBase /software/octave/ |
19 | 19 |
20 RewriteRule ^octave.pdf doc/octave-4.2.1.pdf [L] | |
21 RewriteRule ^NEWS.html NEWS-4.2.html [L] | 20 RewriteRule ^NEWS.html NEWS-4.2.html [L] |
22 RewriteRule ^contribute.html get-involved.html [L] | 21 RewriteRule ^contribute.html get-involved.html [L] |
23 RewriteRule ^img/screenshot.png img/screenshot-octave-4-2.png [L] | 22 RewriteRule ^img/screenshot.png img/screenshot-octave-4-2.png [L] |
24 | 23 |
25 RewriteRule ^doc/interpreter$ doc/interpreter/ [R,L] | 24 RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L] |
26 RewriteRule ^doc/interpreter/(.*) doc/v4.2.1/$1 [L] |