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