From 017b39b7783b0c23a8bf3441fb8494307dede109 Mon Sep 17 00:00:00 2001 From: cghislai Date: Mon, 15 Feb 2021 03:16:34 +0100 Subject: [PATCH] Fix --- docker/httpd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/httpd.conf b/docker/httpd.conf index d07831d..7e4d337 100644 --- a/docker/httpd.conf +++ b/docker/httpd.conf @@ -13,10 +13,10 @@ DocumentRoot /var/www/ RewriteRule ^ - [L] # If for an existing subpath, redirect to index - RewriteCond %{REQUEST_URI} "=^/en/.*" + RewriteCond %{REQUEST_URI} "^/en/" RewriteRule ^ /en/index.html [L] - RewriteCond %{REQUEST_URI} "=^/fr/.*" + RewriteCond %{REQUEST_URI} "^/fr/" RewriteRule ^ /fr/index.html [L] # If the requested resource doesn't exist, use index.html