Skip to content

Commit 1665669

Browse files
alexgithublabdaringer
authored andcommitted
redirects for nitropad nitropc merge
1 parent c6db56c commit 1665669

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

redirects/.htaccess

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#
99
# Use 301 for final redirects and 302 for temporary redirects
1010
#
11+
# Order of rules matters, put most generic ones at the end to avoid overwriting other rules
12+
#
1113
# If the browser shows "Internal Server Error" check the Syntax of the Rule Set:
1214

1315

@@ -193,23 +195,40 @@ RedirectMatch 301 "^(/[a-z][a-z])?/hsm/(mac/|windows/|linux/)automatic-screen-lo
193195
RedirectMatch 301 "^(/[a-z][a-z])?/hsm/(mac/|windows/|linux/)dnssec$" "$1/nitrokeys/features/hsm/dnssec"
194196

195197
#NitroPad
196-
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/(.*)$" "$1/nitropad-nitropc/$2"
197198
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/default-boot$" "$1/nitropad-nitropc/heads/default-boot"
198199
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/factory-reset$" "$1/nitropad-nitropc/heads/factory-reset"
199200
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/factory-reset-heads2$" "$1/nitropad-nitropc/heads/factory-reset-heads2"
200201
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/ubuntu/firmware-update-1.4$" "$1/nitropad-nitropc/heads/firmware-update-1.4"
201202
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+
203209

204210
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/default-boot$" "$1/nitropad-nitropc/heads/default-boot"
205211
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/factory-reset$" "$1/nitropad-nitropc/heads/factory-reset"
206212
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/factory-reset-heads2$" "$1/nitropad-nitropc/heads/factory-reset-heads2"
207213
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/qubes/firmware-update-1.4$" "$1/nitropad-nitropc/heads/firmware-update-1.4"
208214
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"
210220

211221

222+
RedirectMatch 301 "^(/[a-z][a-z])?/nitropad/(.*)$" "$1/nitropad-nitropc/$2"
223+
212224
#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+
213232
RedirectMatch 301 "^(/[a-z][a-z])?/nitropc/(.*)$" "$1/nitropad-nitropc/$2"
214233

215234

0 commit comments

Comments
 (0)