Mercurial > web-octave
annotate .htaccess @ 251:59c183319c84
* Gemfile.lock: Bundle update
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Tue, 18 May 2021 10:31:12 +0900 |
parents | 88d6e1e48892 |
children |
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 |
219
88d6e1e48892
Reorder image directory and reduce .htaccess rules.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
154
diff
changeset
|
20 RewriteRule ^contribute.html get-involved.html [L] |
143
1d62ce9ef4d6
.htaccess: Restore rule for octave.pdf due to old URLs.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
140
diff
changeset
|
21 RewriteRule ^octave.pdf https://www.octave.org/octave.pdf [R=301,L] |
140
0dfc0d62f356
.htaccess: redirect doc* to https://www.octave.org/doc
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
135
diff
changeset
|
22 RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L] |