Browse code

Add personalised 404 page

hiromipaw authored on01/07/2017 10:02:23
Showing2 changed files
... ...
@@ -1,5 +1,7 @@
1 1
 RewriteEngine On
2 2
 
3
+ErrorDocument 404 /404
4
+
3 5
 # moved to /docs/
4 6
 RewriteRule ^faq(.*) /docs/faq$1 [R=301,L]
5 7
 RewriteRule ^bridges(.*) /docs/bridges$1 [R=301,L]
... ...
@@ -81,5 +83,3 @@ RewriteRule ^donate/donor-privacy-policy(.*) https://donate.torproject.org/priva
81 83
 # some external resources (the donate infrastructure in particular) and
82 84
 # getting it changed there is apparently hard or something.
83 85
 RewriteRule ^donate-email(.*) https://donate.torproject.org/ [R=302,L]
84
-
85
-
86 86
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+<p>This is an error page. Not sure how you got here.</p>