view .htaccess @ 272:c90fdd9f5b86

README.md: Clarify LICENSE of code and content (closes #1).
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 21 Feb 2022 17:46:25 +0900
parents 88d6e1e48892
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 ^contribute.html get-involved.html [L]
RewriteRule ^octave.pdf https://www.octave.org/octave.pdf [R=301,L]
RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L]