view .htaccess @ 136:aaf612aece2b

Use https URLs where possible * README.md, _config.yml, _includes/footer.html, about.md, get-involved.md, index.html, support-expectations.md, support.md: Use https for Octave URLs and GNU URLs, as well as some external URLs. * _includes/install.html: Use https for Homebrew.
author Mike Miller <mtmiller@octave.org>
date Sun, 08 Oct 2017 17:24:51 -0700
parents 6e120f63dd35
children 0dfc0d62f356
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 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]