Hi Ludovic,

I've managed to fix the issue I had.

In the SOGo.conf file I had neglected to append port 8080 - that I had set in the SOGo VirtualHost entry of my Apache config file - to the RequestHeader entries. So once I had done the following everything now works fine:

  RequestHeader set "x-webobjects-server-port" "8080"
  RequestHeader set "x-webobjects-server-name" "yourhostname:8080"
  RequestHeader set "x-webobjects-server-url" "https://yourhostname:8080";

So I have now managed to setup a working version of SOGo on my Elastix system without any adverse effects on the Elastix admin interface or system functionality.

Thanks for your assistance.

Regards,

Ian Jones

On 01/11/2010 18:59, Ludovic Marcotte wrote:
On 10-11-01 1:37 PM, [email protected] wrote:
Thanks for the prompt reply.

My httpd.conf VirtualHosts entries follow:

<VirtualHost 192.168.5.3:80>
  ## Elastix
     ServerAdmin [email protected]
     DocumentRoot /var/www/html
     ServerName 192.168.5.3
     ErrorLog logs/Elastix-error_log
     CustomLog logs/Elastix-access_log common
<Directory "/var/www/html">
       # Redirect administration interface to https
       RewriteEngine On
       RewriteCond %{HTTPS} off
       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</Directory>
</VirtualHost>

<VirtualHost 192.168.5.3:8080>
  ## SoGo
     ServerAdmin [email protected]
     DocumentRoot /var/www/html
     ServerName 192.168.5.3
     ErrorLog logs/SoGo-error_log
     CustomLog logs/SoGo-access_log common
     Include conf.d/*.config
</VirtualHost>

[Note: I renamed the sogo.conf file to sogo.config to separate what was
included globally and what whas included for the VirtualHost]

Even though I have only specified a redirect to https in the 1st Virtual host,
once I Login to the SOGo interface the URL is redirected to
'https://192.168.5.3/SOGo/so/ian/Mail'. Don't know if that is the expected
behaviour.
You haven't provided all your SOGo Apache configuration.

How about those (from the sample configuration) :

  RequestHeader set "x-webobjects-server-port" "443"
  RequestHeader set "x-webobjects-server-name" "yourhostname"
  RequestHeader set "x-webobjects-server-url" "https://yourhostname";

Regards,

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to