chaostreff.ch/httpd.conf
s3lph 69c205de54
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
httpd.conf redirect optional
2023-01-04 21:28:52 +01:00

15 lines
No EOL
509 B
ApacheConf

# Language-specific index based on Accept-Language header
AddHandler type-map .var
DirectoryIndex index.var index.html
# 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
RewriteEngine on
RewriteRule /spaceapi/([^/]+)/([^/]+)(/.*+)$ $1://$2/$3 [P,L]