projects
/
~bandali
/
bndl.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
revamp the website
[~bandali/bndl.org]
/
static
/
.htaccess
diff --git
a/static/.htaccess
b/static/.htaccess
index
4f38f87
..
0558c36
100644
(file)
--- a/
static/.htaccess
+++ b/
static/.htaccess
@@
-1,15
+1,17
@@
-<IfModule mod_rewrite.c>
-# don't add .html in the rewrite below
-Options -MultiViews
+ErrorDocument 404 /~bandali/404.html
+
+AddCharset utf-8 .bib .org
+AddType text/plain .bib .org
-RewriteEngine On
-RewriteBase /
-# if not already on bandali.eu.org, redirect to there
-RewriteCond %{HTTP_HOST} !^bandali\.eu\.org$
-RewriteRule ^(.*)$ https://bandali.eu.org/$1 [R]
+AddType application/atom+xml .atom
+AddType application/rss+xml .rss
-# now we have to explicitly tell apache that files with no
-# extension are actually .html
+<IfModule mod_rewrite.c>
+# since we set Options -MultiViews in ../.htaccess, we now have to
+# explicitly tell apache that files with no extension are actually
+# .html files
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule !.*\.html$ %{REQUEST_FILENAME}.html [L]
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule !.*\.html$ %{REQUEST_FILENAME}.html [L]
+
+RewriteRule ^fsf-internship/intro$ /~bandali/fsf-internship-intro.html [R]
</IfModule>
</IfModule>