horde ignoring $conf['use_ssl']
Jason Wright
peewee@scc.mi.org
Wed, 16 Jan 2002 17:38:17 -0800
howdy...
i'm trying to set up a fresh install of horde 2.0 / imp 3.0 and i'm having
a redirect problem. i've searched the imp and horde list archives and so
far, i've come up empty.
i've got apache setup to do https on tcp/443 only. nothing is listening
tcp/80. note the location: i'm getting redirected to:
client:~ ] lynx -head -dump https://server.example.com/horde/imp/
HTTP/1.1 302 Found
Date: Thu, 17 Jan 2002 01:00:14 GMT
Server: Apache/1.3.22 Ben-SSL/1.45 (Unix) PHP/4.1.1
X-Powered-By: PHP/4.1.1
Set-Cookie: =74d61d25572e7f2be4ef8a575579df31; path=/horde; domain=server.example.com
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Location: http://server.example.com/horde/imp/redirect.php?=74d61d25572e7f2be4ef8a575579df31
Connection: close
Content-Type: text/html
i've set $conf['use_ssl'] = 1 in horde/config/horde.php:
server:/usr/local/apache/htdocs/horde/config ] sudo grep use_ssl horde.php
$conf['use_ssl'] = 1;
i've also tried setting $conf['use_ssl'] = 2, which gives me the same
broken redirect. that's a little odd because my test.php comes back good
and the phpinfo() page tells me that $HTTP_SERVER_VARS['HTTPS'] = "on".
if i go into horde/lib/Horde.php and change line 272 inside the url()
function from
$protocol = 'http';
to
$protocol = 'https';
then i get my https redirects and everything is good, at least as far as i
can tell, given how far along i am in the installation.
thanks!
PeeWee
--
email: peewee@scc.mi.org useless: http://www.scc.mi.org/peewee/ aim: antipwe
i aspire to be the village idiot. however, i do live in the global village. -me