From d1c127d7b73e44fe6c096ade7a4c91101ca02935 Mon Sep 17 00:00:00 2001 From: cghislai Date: Mon, 15 Feb 2021 02:20:21 +0100 Subject: [PATCH] Fix --- docker/httpd.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docker/httpd.conf b/docker/httpd.conf index 5b7c9fd..9446b5c 100644 --- a/docker/httpd.conf +++ b/docker/httpd.conf @@ -1,3 +1,4 @@ +DocumentRoot /var/www/ Options -Indexes +FollowSymLinks @@ -12,8 +13,8 @@ RewriteRule ^ - [L] # If the requested resource doesn't exist, use index.html - RewriteCond %{REQUEST_URI} "!=/index.html" [NC] - RewriteRule ^ /index.html [L] + RewriteCond %{REQUEST_URI} "!=/fr/index.html" [NC] + RewriteRule ^ /fr/index.html [L] @@ -31,8 +32,8 @@ RewriteRule ^ - [L] # If the requested resource doesn't exist, use index.html - RewriteCond %{REQUEST_URI} "!=/index.html" [NC] - RewriteRule ^ /index.html [L] + RewriteCond %{REQUEST_URI} "!=/en/index.html" [NC] + RewriteRule ^ /en/index.html [L]