X-Git-Url: https://disinclined.org/git/?a=blobdiff_plain;f=.htaccess;h=1793730b66fedeee2a38fc7298c7db669531a4b9;hb=376af28336870450e1e0f3a818a29fb80c7722b5;hp=d06e66b3db40909c361ce77dc5d225d1c7561a64;hpb=85bb89e8ee1cd0d518b61f6d14c1c939db6c6d0b;p=dylansserver.git diff --git a/.htaccess b/.htaccess index d06e66b..1793730 100644 --- a/.htaccess +++ b/.htaccess @@ -3,6 +3,14 @@ ErrorDocument 404 /404.php RewriteEngine on +RewriteRule ^resume$ /res.pdf [L] +RewriteCond %{HTTPS} off +RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} + +RewriteRule ^notes/rss/?$ /index.php?rss=true [L] + +RewriteRule ^git/?$ /git/gitweb.cgi%{REQUESTURI} [L] + RewriteRule ^captcha/?$ /index.php [L] RewriteRule ^note/([^/\.]+)?/?$ /index.php?note=$1 [L]