Mercurial > web-octave
comparison .htaccess @ 219:88d6e1e48892
Reorder image directory and reduce .htaccess rules.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 15 Sep 2020 15:44:43 +0900 |
parents | d9294f3fa785 |
children |
comparison
equal
deleted
inserted
replaced
218:025ebd8ded7e | 219:88d6e1e48892 |
---|---|
15 | 15 |
16 RewriteEngine on | 16 RewriteEngine on |
17 | 17 |
18 RewriteBase /software/octave/ | 18 RewriteBase /software/octave/ |
19 | 19 |
20 RewriteRule ^contribute.html get-involved.html [L] | |
20 RewriteRule ^octave.pdf https://www.octave.org/octave.pdf [R=301,L] | 21 RewriteRule ^octave.pdf https://www.octave.org/octave.pdf [R=301,L] |
21 | |
22 RewriteRule ^NEWS.html NEWS-4.2.html [L] | |
23 RewriteRule ^contribute.html get-involved.html [L] | |
24 | |
25 # The screenshot URL below is a permalink to a png-file of **exact** | |
26 # dimension 1600x900 pixel, see https://savannah.gnu.org/bugs/?53432. | |
27 RewriteRule ^img/screenshot.png img/GNU_Octave_4-4-0_screenshot_1600x900.png [L] | |
28 | |
29 RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L] | 22 RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L] |