> On May 26, 2016, at 3:23 AM, Chris Burke (burkech...@yahoo.com) > <users@sogo.nu> wrote: > > You must set the x-webobjects headers. See the documentation: > http://sogo.nu/files/docs/SOGoInstallationGuide.html#_apache_configuration
Suggestions to default Apache SOGo config file (source file 'Apache/SOGo.conf'): *) Set and enable "x-webobjects-server-*" with Apache env variable 'HTTP_HOST', there're 2 advantages with this change: 1: no change required to be made by sys admin. 2: supports multiple web hosts. With url hard-coded in x-webobjects-server-url, no matter end user access host 'https://abc.com/SOGo' or 'https://xyz/SOGo', they will be redirected to url 'https://<the_hard-coded_one>/SOGo', this is not good. <IfModule headers_module> RequestHeader set "x-webobjects-server-port" "443" 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 </IfModule> *) Always redirect http traffic to https: <IfModule rewrite_module> RewriteRule /SOGo(.*) https://%{HTTP_HOST}%{REQUEST_URI} </IfModule> ---- Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/ Time zone: GMT+8 (China/Beijing). -- users@sogo.nu https://inverse.ca/sogo/lists