Merge pull request #233 from gordonmessmer/apache-conf

Set the HTTP_HOST environment variable to enable preservation of the …
This commit is contained in:
Francis Lachapelle
2018-08-27 22:05:39 -04:00
committed by GitHub
+1
View File
@@ -75,6 +75,7 @@ ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
## and do not forget to enable the headers module
<IfModule headers_module>
RequestHeader set "x-webobjects-server-port" "443"
SetEnvIf Host (.*) HTTP_HOST=$1
RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e" env=HTTP_HOST