[tor-commits] [tpo/master] this are all the same, we can save some lines

emmapeel at torproject.org emmapeel at torproject.org
Thu Mar 28 16:47:39 UTC 2019


commit 8c56b969b5e6975a5896fa3dfbe2ab932e7fffa4
Author: emma peel <emma.peel at riseup.net>
Date:   Thu Mar 28 17:47:24 2019 +0100

    this are all the same, we can save some lines
---
 .htaccess | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/.htaccess b/.htaccess
index 354822d..df6ae3e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -6,15 +6,7 @@ RewriteRule ^about/financials(.*) /about/reports$1 [R=302,L]
 RewriteRule ^about(.*).html.en$ /about$1 [R=302,L]
 
 # moved to /docs/
-RewriteRule ^docs/faq(.*) https://2019.www.torproject.org/docs/faq$1 [R=302,L]
-RewriteRule ^docs/bridges(.*) https://2019.www.torproject.org/docs/bridges$1 [R=302,L]
-RewriteRule ^docs/abuse(.*) https://2019.www.torproject.org/docs/abuse$1 [R=302,L]
-RewriteRule ^docs/documentation(.*) https://2019.www.torproject.org/docs/documentation$1 [R=302,L]
-RewriteRule ^docs/verifying-signatures(.*) https://2019.www.torproject.org/docs/verifying-signatures$1 [R=302,L]
-RewriteRule ^docs/signing-keys(.*) https://2019.www.torproject.org/docs/signing-keys$1 [R=302,L]
-RewriteRule ^docs/tor-manual(.*) https://2019.www.torproject.org/docs/tor-manual$1 [R=302,L]
-RewriteRule ^docs/trademark-faq(.*) https://2019.www.torproject.org/docs/trademark-faq$1 [R=302,L]
-RewriteRule ^docs/onion-services(.*) https://2019.www.torproject.org/docs/onion-services$1 [R=302,L]
+RewriteRule ^docs/(.*).html.en https://2019.www.torproject.org/docs/$1.html.en [R=302,L]
 
 # Torbutton
 RewriteRule ^torbutton/design(.*) https://2019.www.torproject.org/docs/torbutton/en/design$1 [R=302,L]



More information about the tor-commits mailing list