[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [webwml/staging] Attempt to get rid of visible directory indices
commit 94454cc9023e29377751eb67da460ce19a0fa5e6
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Tue Jun 28 00:12:06 2016 +0200
Attempt to get rid of visible directory indices
---
.htaccess | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/.htaccess b/.htaccess
index 73a8e95..bf6a3dc 100644
--- a/.htaccess
+++ b/.htaccess
@@ -51,6 +51,17 @@ RewriteRule ^easy-download(.*) /download/download-easy$1 [R=301,L]
# Relays
RewriteRule ^relays(.*) /getinvolved/relays [R=301,L]
+# Index Pages
+RewriteRule ^about/$ /about/overview [R=301,L]
+RewriteRule ^cgi-bin/$ / [R=301,L]
+RewriteRule ^css/$ / [R=301,L]
+RewriteRule ^docs/$ /docs/documentation [R=301,L]
+RewriteRule ^eff/$ / [R=301,L]
+RewriteRule ^en/$ / [R=301,L]
+RewriteRule ^images/$ / [R=301,L]
+RewriteRule ^include/$ / [R=301,L]
+RewriteRule ^js/$ / [R=301,L]
+
# Donation campagin
RewriteRule ^donate/donate-twitter(.*) /donate/donate$1 [R=302,L]
RewriteRule ^donate/donate-tbb(.*) /donate/donate$1 [R=302,L]
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits