aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--htaccess5
2 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6d5231b..af469c8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,15 @@
all:
git pull
mkdocs build --clean 2>&1 | grep -v "Warning: Click detected the use of the unicode_literals"
+ cp -af htaccess site/.htaccess
.PHONY: clean
clean:
rm -Rf site
+
+.PHONY: test
+test:
+ curl -sSf -o /dev/null https://nuetzlich.net/gocryptfs
+ # These should redirect to the new names
+ curl -sSf -o /dev/null https://nuetzlich.net/gocryptfs/security
+ curl -sSf -o /dev/null https://nuetzlich.net/gocryptfs/reverse_mode
diff --git a/htaccess b/htaccess
new file mode 100644
index 0000000..fdd2a96
--- /dev/null
+++ b/htaccess
@@ -0,0 +1,5 @@
+# "security" was renamed to "forward_mode_crypto" on 2017-09-17. Keep old links working.
+Redirect "/gocryptfs/security" "/gocryptfs/forward_mode_crypto"
+
+# "reverse_mode" was renamed to "reverse_mode_crypto" on 2017-09-17. Keep old links working.
+Redirect "/gocryptfs/reverse_mode" "/gocryptfs/reverse_mode_crypto"