Mercurial > web-octave
diff .htaccess @ 67:373d2dba318e kai
Include stuff from current octave.org for later hosting.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Thu, 13 Oct 2016 17:41:24 +0200 |
parents | |
children | fb7d6d6a5866 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.htaccess Thu Oct 13 17:41:24 2016 +0200 @@ -0,0 +1,25 @@ +<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.0.3.pdf [L] +RewriteRule ^NEWS.html NEWS-4.0.html [L] +RewriteRule ^contribute.html get-involved.html [L] + +RewriteRule ^doc/interpreter$ doc/interpreter/ [R,L] +RewriteRule ^doc/interpreter/(.*) doc/v4.0.3/$1 [L]