diff --git a/Apache/SOGo-debian.conf b/Apache/SOGo-debian.conf index e863a6e70..eb01a886f 100644 --- a/Apache/SOGo-debian.conf +++ b/Apache/SOGo-debian.conf @@ -29,6 +29,18 @@ AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \ /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2 + RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" + RequestHeader set "x-webobjects-remote-host" "127.0.0.1" + +## adjust the following to your configuration + RequestHeader set "x-webobjects-server-port" "443" + RequestHeader set "x-webobjects-server-name" "yourhostname" + RequestHeader set "x-webobjects-server-url" "https://yourhostname" + +## When using proxy-side autentication, you need to uncomment and +## adjust the following line: +# RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e" + BalancerMember http://127.0.0.1:20000 retry=1 max=1 timeout=120 # If you enable those, don't forget the enable the spawning of multiple SOGo # processes. With Redhat-based distributions, this is done by setting the diff --git a/Apache/SOGo.conf b/Apache/SOGo.conf index e69560a30..0c0565822 100644 --- a/Apache/SOGo.conf +++ b/Apache/SOGo.conf @@ -51,7 +51,7 @@ ProxyPass /SOGo balancer://sogocluster/SOGo RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" - RequestHeader set "x-webobjects-remote-addr" "127.0.0.1" + RequestHeader set "x-webobjects-remote-host" "127.0.0.1" ## adjust the following to your configuration RequestHeader set "x-webobjects-server-port" "443"