annotate .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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
1 <FilesMatch "\.(in|m4)$">
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
2 Order allow,deny
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
3 Deny from all
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
4 </FilesMatch>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
5
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
6 <FilesMatch "Makefile$">
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
7 Order allow,deny
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
8 Deny from all
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
9 </FilesMatch>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
10
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
11 <FilesMatch "CVS">
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
12 Order allow,deny
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
13 Deny from all
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
14 </FilesMatch>
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
15
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
16 RewriteEngine on
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
17
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
18 RewriteBase /software/octave/
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
19
143
1d62ce9ef4d6 .htaccess: Restore rule for octave.pdf due to old URLs.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 140
diff changeset
20 RewriteRule ^octave.pdf https://www.octave.org/octave.pdf [R=301,L]
1d62ce9ef4d6 .htaccess: Restore rule for octave.pdf due to old URLs.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 140
diff changeset
21
116
fb7d6d6a5866 Link to current documentation.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 94
diff changeset
22 RewriteRule ^NEWS.html NEWS-4.2.html [L]
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
23 RewriteRule ^contribute.html get-involved.html [L]
128
10be8c498420 .htaccess: add symlink.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 116
diff changeset
24 RewriteRule ^img/screenshot.png img/screenshot-octave-4-2.png [L]
94
e8fc61e077fc Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff changeset
25
140
0dfc0d62f356 .htaccess: redirect doc* to https://www.octave.org/doc
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents: 135
diff changeset
26 RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L]