This commit is contained in:
cghislai 2021-02-15 03:16:34 +01:00
parent 5c916c929d
commit 017b39b778

View File

@ -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