Make it impossible to clone the live site
authorSteve Youngs (Live Site) <steve@sxemacs.org>
Fri, 5 Nov 2010 03:34:40 +0000 (20:34 -0700)
committerSteve Youngs (Live Site) <steve@sxemacs.org>
Fri, 5 Nov 2010 03:34:40 +0000 (20:34 -0700)
Signed-off-by: Steve Youngs (Live Site) <steve@sxemacs.org>
.htaccess

index 8f51224..d28ff9f 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -2,3 +2,7 @@ Options Indexes Includes
 XBitHack On
 AddType text/html .template
 AddOutputFilter INCLUDES .template
+SetEnvIf User-Agent "git/*" BadGuy=1
+Order allow,deny
+Deny from env=BadGuy
+Allow from all