X-Git-Url: http://cgit.sxemacs.org/?p=website;a=blobdiff_plain;f=.htaccess;h=dd96aebd146520774d98ffa1962d52484cad5815;hp=017bbae0dd46514bfee5a29c4e25b5d8de8656f5;hb=f0a72dedd0f4d6caf970908a8ee874b0e5a34c0d;hpb=83adc779470666ff4c222136f68febd886eac789
diff --git a/.htaccess b/.htaccess
index 017bbae..dd96aeb 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,9 +2,28 @@ 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
+
+## Dreamhost Affiliate Rewrite
+
+ Options +FollowSymlinks
+ RewriteEngine On
+ RewriteBase /
+ RewriteCond %{REQUEST_URI} ^/hosting$ [NC]
+ RewriteRule ^(.*)$ http://www.dreamhost.com/r.cgi?606408 [L]
+
+## End Dreamhost
+
+## SXEmacs/LJ Rewrite
+
+ Options +FollowSymlinks
+ RewriteEngine On
+ RewriteBase /
+ RewriteCond %{REQUEST_URI} ^/lj.el$ [NC]
+ RewriteRule ^(.*)$ http://bastard.steveyoungs.com/~steve/lj/lj.el [L]
+
+## End Dreamhost
-# deny access to the toplevel .git directory
-
- Order Deny,Allow
- Deny from All
-