various enhancements, including valid atom and rss feeds
[~bandali/bndl.org] / static / .htaccess-www
1 <IfModule mod_rewrite.c>
2 # don't add .html in the rewrite below
3 Options -MultiViews
4
5 RewriteEngine On
6 RewriteBase /
7 # if on csclub.uwaterloo.ca, redirect to bndl.org
8 RewriteCond %{HTTP_HOST} ^csclub\.uwaterloo\.ca$
9 RewriteRule ^(.*)$ https://bndl.org/$1 [R]
10 </IfModule>
11
12 AddType application/atom+xml .atom
13 AddType application/rss+xml .rss
14
15 AddType text/plain .bib .org
16 AddCharset utf-8 .bib .org