From 69c205de54297835d64089583abfbf194028ae6a Mon Sep 17 00:00:00 2001 From: s3lph Date: Wed, 4 Jan 2023 21:28:52 +0100 Subject: [PATCH] httpd.conf redirect optional --- httpd.conf | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/httpd.conf b/httpd.conf index f96112a..ebe3f29 100644 --- a/httpd.conf +++ b/httpd.conf @@ -1,11 +1,13 @@ -# Redirect to language-specific index based on Accept-Language header +# Language-specific index based on Accept-Language header AddHandler type-map .var DirectoryIndex index.var index.html -Redirect /index.de.html /de/ -Redirect /index.fr.html /fr/ -Redirect /index.it.html /it/ -Redirect /index.en.html /en/ +# Optional: Redirect to language specific subsite, rather than showing +# language specific content at the root +#Redirect /index.de.html /de/ +#Redirect /index.fr.html /fr/ +#Redirect /index.it.html /it/ +#Redirect /index.en.html /en/ # SpaceAPI proxy service workaround for missing CORS headers SSLProxyEngine on