Mercurial > web-octave
annotate .htaccess @ 182:7a664b44fd8d
Use Bundler for consistent development environment with Jekyll.
* README.md: Update documentation for new development workflow
* Makefile: Remove custom tool version checks.
* _config.yml: Adapt to Bundler workflow.
* Gemfile: Document requirements for Bundler.
* Gemfile.lock: Document currently used tool versions for Bundler.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Wed, 20 May 2020 14:05:39 +0900 |
parents | d9294f3fa785 |
children | 88d6e1e48892 |
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] |
144
c4e2b01e2df5
Update Octave screenshot (bug #53432).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
143
diff
changeset
|
24 |
c4e2b01e2df5
Update Octave screenshot (bug #53432).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
143
diff
changeset
|
25 # The screenshot URL below is a permalink to a png-file of **exact** |
c4e2b01e2df5
Update Octave screenshot (bug #53432).
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
143
diff
changeset
|
26 # dimension 1600x900 pixel, see https://savannah.gnu.org/bugs/?53432. |
154
d9294f3fa785
Update screenshot to 4.4.0 version.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
144
diff
changeset
|
27 RewriteRule ^img/screenshot.png img/GNU_Octave_4-4-0_screenshot_1600x900.png [L] |
94
e8fc61e077fc
Merged closed branch "kai" into default.
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
diff
changeset
|
28 |
140
0dfc0d62f356
.htaccess: redirect doc* to https://www.octave.org/doc
Kai T. Ohlhus <k.ohlhus@gmail.com>
parents:
135
diff
changeset
|
29 RewriteRule ^doc/(.*)$ https://www.octave.org/doc/$1 [R=301,L] |