diff --git a/.gitignore b/.gitignore
index 9409f83e304dba6e1a32fba9c5b65f60e2a9c4e0..9723de5999060c7615e01bfb2f84999ac09d34c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@
 /dist/oidc-client-config.json
 *.iml
 /www/*
+!/www/.htaccess
 !/www/index.html
 
 package-lock.json
diff --git a/www/.htaccess b/www/.htaccess
new file mode 100644
index 0000000000000000000000000000000000000000..7894ed6ad8d725c03e06892c76e6f0a0c8964c57
--- /dev/null
+++ b/www/.htaccess
@@ -0,0 +1,5 @@
+<IfModule mod_rewrite.c>
+  RewriteEngine On
+  RewriteCond %{REQUEST_FILENAME} !-f
+  RewriteRule ^([a-z]{2})/.*$ "$1/index.html" [L]
+</IfModule>