Update http -> https where appropriate
[website] / .htaccess
1 Options Indexes Includes
2 XBitHack On
3 AddType text/html .template
4 AddOutputFilter INCLUDES .template
5 SetEnvIf User-Agent "git/*" BadGuy=1
6 Order allow,deny
7 Deny from env=BadGuy
8 Allow from all
9
10 ## Dreamhost Affiliate Rewrite
11 <IfModule mod_rewrite.c>
12   Options +FollowSymlinks
13   RewriteEngine On
14   RewriteBase /
15   RewriteCond %{REQUEST_URI} ^/hosting$ [NC]
16   RewriteRule ^(.*)$ https://www.dreamhost.com/r.cgi?606408 [L]
17 </IfModule>
18 ## End Dreamhost
19
20 ## SXEmacs/LJ Rewrite
21 <IfModule mod_rewrite.c>
22   Options +FollowSymlinks
23   RewriteEngine On
24   RewriteBase /
25   RewriteCond %{REQUEST_URI} ^/lj.el$ [NC]
26   RewriteRule ^(.*)$ http://bastard.steveyoungs.com/~steve/lj/lj.el [L]
27 </IfModule>
28 ## End Dreamhost
29