view .htaccess @ 226:eb7a3afdad8b

* pages/menu/about.md: Fix typo.
author Kim Kuparinen <kimi.h.kuparinen@gmail.com>
date Wed, 23 Sep 2020 09:45:01 +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]