view .htaccess @ 182:7a664b44fd8d

Use Bundler for consistent development environment with Jekyll. * README.md: Update documentation for new development workflow * Makefile: Remove custom tool version checks. * _config.yml: Adapt to Bundler workflow. * Gemfile: Document requirements for Bundler. * Gemfile.lock: Document currently used tool versions for Bundler.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Wed, 20 May 2020 14:05:39 +0900
parents d9294f3fa785
children 88d6e1e48892
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-4-0_screenshot_1600x900.png [L]

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