update htaccess files and makefile according to new setup
[~bandali/bndl.org] / static / .htaccess-www
diff --git a/static/.htaccess-www b/static/.htaccess-www
new file mode 100644 (file)
index 0000000..87c80d1
--- /dev/null
@@ -0,0 +1,10 @@
+<IfModule mod_rewrite.c>
+# don't add .html in the rewrite below
+Options -MultiViews
+
+RewriteEngine On
+RewriteBase /
+# if on csclub.uwaterloo.ca, redirect to bandali.eu.org
+RewriteCond %{HTTP_HOST} ^csclub\.uwaterloo\.ca$
+RewriteRule ^(.*)$ https://bandali.eu.org/$1 [R]
+</IfModule>