X-Git-Url: http://cgit.sxemacs.org/?p=website;a=blobdiff_plain;f=.htaccess;h=d28ff9f50bd7770c4420646d3dca52a8b5438648;hp=e0a80200e474f3155024d5d4c7c1b8fe113d9d6d;hb=29e0443d270bf1b7d54ba68bfa61dd8a0ad974b9;hpb=20524dc666806c91aa14e19fcbd2ea7168e624bd diff --git a/.htaccess b/.htaccess index e0a8020..d28ff9f 100644 --- a/.htaccess +++ b/.htaccess @@ -2,9 +2,7 @@ Options Indexes Includes XBitHack On AddType text/html .template AddOutputFilter INCLUDES .template - -# deny access to the toplevel .git directory - - Order Deny,Allow - Deny from All - +SetEnvIf User-Agent "git/*" BadGuy=1 +Order allow,deny +Deny from env=BadGuy +Allow from all