view .htaccess @ 151:20250b0dca08 tip

* _includes/install.html: Update linsk for Octave 4.4.0 w64 version. See http://lists.gnu.org/archive/html/octave-maintainers/2018-05/msg00091.html for details.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Fri, 11 May 2018 19:19:43 +0200
parents c4e2b01e2df5
children
line wrap: on
line source
<FilesMatch "\.(in|m4)$">
  Order allow,deny
  Deny from all
</FilesMatch>

<FilesMatch "Makefile$">
  Order allow,deny
  Deny from all
</FilesMatch>

<FilesMatch "CVS">
  Order allow,deny
  Deny from all
</FilesMatch>

RewriteEngine on

RewriteBase /software/octave/

RewriteRule ^octave.pdf https://www.octave.org/octave.pdf [R=301,L]

RewriteRule ^NEWS.html NEWS-4.2.html [L]
RewriteRule ^contribute.html get-involved.html [L]

# The screenshot URL below is a permalink to a png-file of **exact**
# dimension 1600x900 pixel, see https://savannah.gnu.org/bugs/?53432.
RewriteRule ^img/screenshot.png img/GNU_Octave_4-2-2_screenshot_1600x900.png [L]

RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L]