commit 94454cc9023e29377751eb67da460ce19a0fa5e6 Author: Sebastian Hahn sebastian@torproject.org 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@lists.torproject.org