Mercurial > web-octave
view .htaccess @ 140:0dfc0d62f356
.htaccess: redirect doc* to https://www.octave.org/doc
At the OctConf 2018 we made the decision to maintain the documentation on
the Dreamhost server rather than Savannah.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 13 Mar 2018 18:08:21 +0100 |
parents | 6e120f63dd35 |
children | 1d62ce9ef4d6 |
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 ^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/(.*)$ https://www.octave.org/doc/$1 [R=301,L]