Mercurial > web-octave
view .htaccess @ 143:1d62ce9ef4d6
.htaccess: Restore rule for octave.pdf due to old URLs.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Thu, 15 Mar 2018 01:31:01 +0100 |
parents | 0dfc0d62f356 |
children | c4e2b01e2df5 |
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 https://www.octave.org/octave.pdf [R=301,L] 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]