view .htaccess @ 125:d79176062baa

Use consistent naming convention for macOS * _includes/install.html: Fix naming of macOS and MacPorts. * index.html: Fix naming of macOS.
author Mike Miller <mtmiller@octave.org>
date Wed, 07 Dec 2016 15:22:11 -0800
parents fb7d6d6a5866
children 10be8c498420
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.0.pdf [L]
RewriteRule ^NEWS.html NEWS-4.2.html [L]
RewriteRule ^contribute.html get-involved.html [L]

RewriteRule ^doc/interpreter$ doc/interpreter/ [R,L]
RewriteRule ^doc/interpreter/(.*) doc/v4.2.0/$1 [L]