|
8 | 8 | # |
9 | 9 | # Use 301 for final redirects and 302 for temporary redirects |
10 | 10 | # |
| 11 | +# Order of rules matters, put most generic ones at the end to avoid overwriting other rules |
| 12 | +# |
11 | 13 | # If the browser shows "Internal Server Error" check the Syntax of the Rule Set: |
12 | 14 |
|
13 | 15 |
|
@@ -193,23 +195,40 @@ RedirectMatch 301 "^(/[a-z][a-z])?/hsm/(mac/|windows/|linux/)automatic-screen-lo |
193 | 195 | RedirectMatch 301 "^(/[a-z][a-z])?/hsm/(mac/|windows/|linux/)dnssec$" "$1/nitrokeys/features/hsm/dnssec" |
194 | 196 |
|
195 | 197 | #NitroPad |
196 | | -RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/(.*)$" "$1/nitropad-nitropc/$2" |
197 | 198 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/default-boot$" "$1/nitropad-nitropc/heads/default-boot" |
198 | 199 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/factory-reset$" "$1/nitropad-nitropc/heads/factory-reset" |
199 | 200 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/factory-reset-heads2$" "$1/nitropad-nitropc/heads/factory-reset-heads2" |
200 | 201 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/firmware-update-1.4$" "$1/nitropad-nitropc/heads/firmware-update-1.4" |
201 | 202 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/system-update$" "$1/nitropad-nitropc/heads/system-update" |
202 | | -RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/$" "$1/nitropad-nitropc/heads/firmware-update" |
| 203 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/firmware-update$" "$1/nitropad-nitropc/heads/firmware-update" |
| 204 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/change-pins$" "$1/nitropad-nitropc/change-pins" |
| 205 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/os-reinstallation$" "$1/nitropad-nitropc/os-reinstallation" |
| 206 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/sealed-hardware$" "$1/nitropad-nitropc/sealed-hardware" |
| 207 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/troubleshooting$" "$1/nitropad-nitropc/troubleshooting" |
| 208 | + |
203 | 209 |
|
204 | 210 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/default-boot$" "$1/nitropad-nitropc/heads/default-boot" |
205 | 211 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/factory-reset$" "$1/nitropad-nitropc/heads/factory-reset" |
206 | 212 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/factory-reset-heads2$" "$1/nitropad-nitropc/heads/factory-reset-heads2" |
207 | 213 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/firmware-update-1.4$" "$1/nitropad-nitropc/heads/firmware-update-1.4" |
208 | 214 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/system-update$" "$1/nitropad-nitropc/heads/system-update" |
209 | | -RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/$" "$1/nitropad-nitropc/heads/firmware-update" |
| 215 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/firmware-update$" "$1/nitropad-nitropc/heads/firmware-update" |
| 216 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/change-pins$" "$1/nitropad-nitropc/change-pins" |
| 217 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/os-reinstallation$" "$1/nitropad-nitropc/os-reinstallation" |
| 218 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/sealed-hardware$" "$1/nitropad-nitropc/sealed-hardware" |
| 219 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/troubleshooting$" "$1/nitropad-nitropc/troubleshooting" |
210 | 220 |
|
211 | 221 |
|
| 222 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/(.*)$" "$1/nitropad-nitropc/$2" |
| 223 | + |
212 | 224 | #NitroPC |
| 225 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropc/qubes/os-reinstallation$" "$1/nitropad-nitropc/os-reinstallation" |
| 226 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropc/debian/os-reinstallation$" "$1/nitropad-nitropc/os-reinstallation" |
| 227 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropc/debian/sealed-hardware$" "$1/nitropad-nitropc/sealed-hardware" |
| 228 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropc/qubes/sealed-hardware$" "$1/nitropad-nitropc/sealed-hardware" |
| 229 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropc/ubuntu/os-reinstallation$" "$1/nitropad-nitropc/os-reinstallation" |
| 230 | +RedirectMatch 301 "^(/[a-z][a-z])?/nitropc/ubuntu/sealed-hardware$" "$1/nitropad-nitropc/sealed-hardware" |
| 231 | + |
213 | 232 | RedirectMatch 301 "^(/[a-z][a-z])?/nitropc/(.*)$" "$1/nitropad-nitropc/$2" |
214 | 233 |
|
215 | 234 |
|
|
0 commit comments