chaostreff.ch/httpd.conf
2023-01-04 03:05:25 +01:00

13 lines
No EOL
406 B
ApacheConf

# Redirect to 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/
# SpaceAPI proxy service workaround for missing CORS headers
SSLProxyEngine on
RewriteEngine on
RewriteRule /spaceapi/([^/]+)/([^/]+)(/.*+)$ $1://$2/$3 [P,L]