Got a little over-zealous with the last commit
[website] / .htaccess
index 8f51224..d396fc4 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -2,3 +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
+<IfModule mod_rewrite.c>
+  Options +FollowSymlinks
+  RewriteEngine On
+  RewriteBase /
+  RewriteCond %{REQUEST_URI} ^/hosting$ [NC]
+  RewriteRule ^(.*)$ https://www.dreamhost.com/r.cgi?606408 [L]
+</IfModule>
+## End Dreamhost
+
+## SXEmacs/LJ Rewrite
+<IfModule mod_rewrite.c>
+  Options +FollowSymlinks
+  RewriteEngine On
+  RewriteBase /
+  RewriteCond %{REQUEST_URI} ^/lj.el$ [NC]
+  RewriteRule ^(.*)$ http://bastard.steveyoungs.com/~steve/lj/lj.el [L]
+</IfModule>
+## End Dreamhost
+