Set the HTTP_HOST environment variable to enable preservation of the client's base URL.

pull/233/head
Gordon Messmer 2017-03-17 12:08:54 -07:00
parent 340ddf0ae6
commit 400dd26b7d
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,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