1 (edited by lordhelmet 2016-03-07 21:27:06)

Topic: Sogo Login page calls http page

======== Required information ====
- iRedMail version: 094
- Linux/BSD distribution name and version: Ubuntu 14.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx):  Apache
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue: -
====

hy,
I have my apache set up to only one virtual host @ 443. no 80-host.
When I call https://fqdn/SOGo I get the login page. After login in it redirects to
http://fqdn/SOGo/so/user@fqdn/Calendar/view
which obviously gets me a connection reset.

After adding "https://" manually I get the page.

So I wonder what the default behaviour of Sogo is, is there a "bridge" page on :80 which redirects to the Sogo Interface on 443?

As Sogo seems to be some binary that delivers content to apache i cant add any .haccess redirect.

Would you have some hint for me how to solve that? I.e. roundcubemail has a very nifty php redirect to ssl which works fine.
Thx

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Sogo Login page calls http page

Open file /etc/apache2/conf-enabled/SOGo.conf, set your url in "x-webobjects-server-url" like below:

RequestHeader set "x-webobjects-server-url" "https://yourhostname"

3

Re: Sogo Login page calls http page

thx!