From 20c1e1510ac7c7d82fd0da7396069596a2fbd7fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= <cpartiot@gmail.com> Date: Fri, 22 Nov 2019 18:18:11 +0100 Subject: [PATCH] add .htaccess --- .gitignore | 1 + www/.htaccess | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 www/.htaccess diff --git a/.gitignore b/.gitignore index 9409f83e..9723de59 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 00000000..7894ed6a --- /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> -- GitLab