httpd.conf redirect optional
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
s3lph 2023-01-04 21:28:52 +01:00
parent 23c132bf83
commit 69c205de54
Signed by: s3lph
GPG key ID: 8AC98A811E5BEFF5

View file

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