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