httpd.conf redirect optional
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
23c132bf83
commit
69c205de54
1 changed files with 7 additions and 5 deletions
12
httpd.conf
12
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
|
AddHandler type-map .var
|
||||||
DirectoryIndex index.var index.html
|
DirectoryIndex index.var index.html
|
||||||
Redirect /index.de.html /de/
|
# Optional: Redirect to language specific subsite, rather than showing
|
||||||
Redirect /index.fr.html /fr/
|
# language specific content at the root
|
||||||
Redirect /index.it.html /it/
|
#Redirect /index.de.html /de/
|
||||||
Redirect /index.en.html /en/
|
#Redirect /index.fr.html /fr/
|
||||||
|
#Redirect /index.it.html /it/
|
||||||
|
#Redirect /index.en.html /en/
|
||||||
|
|
||||||
# SpaceAPI proxy service workaround for missing CORS headers
|
# SpaceAPI proxy service workaround for missing CORS headers
|
||||||
SSLProxyEngine on
|
SSLProxyEngine on
|
||||||
|
|
Loading…
Reference in a new issue