Futzing about trying to see what's wrong with my hooks
[website] / .htaccess
index 3d3a1b9..70241a9 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,8 +1,26 @@
-Options Indexes Includes
+Options +Indexes +Includes
 XBitHack On
 AddType text/html .template
 AddOutputFilter INCLUDES .template
+Require all granted
+
+## 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
 
-# deny access to the toplevel .git directory
-RewriteEngine On
-RewriteRule \.git - [F,L]