Kolab 2.2, Horde and reverse proxy

Thomas Arendsen Hein thomas at intevation.de
Thu Aug 7 15:06:41 CEST 2008


* Gunnar Wrobel <wrobel at pardus.de> [20080805 10:42]:
> Sylvain MEDEOT <symedeot at yahoo.fr> writes:
> > I then changed /kolab/var/kolab/www/horde/config.php to adapt horde to the reverse proxy 
> > setup :
> >
> > In /kolab/var/kolab/www/horde/config.php :
> > $conf['use_ssl'] = 2;
> > $conf['server']['name'] = 'www.mydomain.com';    //$_SERVER['SERVER_NAME'];
> > $conf['cookie']['domain'] =  'www.mydomain.com';
> > $conf['cookie']['path'] = '/horde';
>
> I don't know much about the reverse proxy setup so my answer may not
> be very precise. But this looks like the redirect to the SSL-Version
> of the site is not working.
> 
> Make sure your proxy requires SSL for the connection to horde and
> redirect the SSL connection from the proxy to
> https://kolab.mydomain.com/horde/

You should not edit config.php, but the correct template, in this
case /kolab/etc/kolab/templates/horde-kolab-conf.template
where we use:

    $conf['use_ssl'] = 1;
    $conf['server']['name'] = 'demo.kolab.org';
    $conf['server']['port'] = 443;

(same change for fbview-horde-conf.template)

We enforce the use of SSL in the reverse proxy.

Regards,
Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner




More information about the users mailing list