[imp] Redirection loop when using $conf[server][change_server]

Jan Schneider jan at horde.org
Thu Jun 26 08:29:57 UTC 2008


Zitat von Fredrik Poller <fredrik.poller at binero.se>:

> Hi all,
>
> I have a problem with IMP getting stuck in a redirection loop when loading
> the login page when I use $conf[server][change_server]. Using
> $conf[server][server_list] = 'none' without setting
> $conf[server][change_server] works fine (except that I can't change server
> :)).
>
> Apaches access log contains this:
>
> 217.78.41.153 - - [26/Jun/2008:09:18:57 +0200] "GET
> /imp/redirect.php?actionID=login&autologin=1&server_key=imap HTTP/1.1" 302
> 38 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; sv-SE; rv:1.8.1.14)
> Gecko/20080404 Firefox/2.0.0.14"
> 217.78.41.153 - - [26/Jun/2008:09:18:57 +0200] "GET
> /imp/redirect.php?actionID=login&autologin=1&server_key=imap HTTP/1.1" 302
> 38 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; sv-SE; rv:1.8.1.14)
> Gecko/20080404 Firefox/2.0.0.14"
> ... until firefox decides we're stuck in a loop
>
> Hordes log file doesn't tell me anything.
>
> Here's Hordes config directives related to sessions, cookies and auth: (if
> more is needed, let me know)
>
> $conf['use_ssl'] = 0;
> $conf['session']['name'] = 'Horde';
> $conf['session']['use_only_cookies'] = true;
> $conf['session']['cache_limiter'] = 'nocache';
> $conf['session']['timeout'] = 0;
> $conf['cookie']['domain'] = 'horde.binero.net';
> $conf['cookie']['path'] = '/';
> $conf['auth']['admins'] = array('fredrik.poller at binero.se');
> $conf['auth']['checkip'] = true;
> $conf['auth']['checkbrowser'] = true;
> $conf['auth']['alternate_login'] = false;
> $conf['auth']['redirect_on_logout'] = false;
> $conf['auth']['params']['app'] = 'imp';
> $conf['auth']['driver'] = 'application';
>
> Here's IMPs config directives:
>
> $conf['server']['change_server'] = true;
> $conf['server']['change_port'] = false;
> $conf['server']['change_protocol'] = false;
> $conf['server']['change_smtphost'] = false;
> $conf['server']['change_smtpport'] = false;
> $conf['server']['server_list'] = 'none';
> $conf['server']['fixed_folders'] = array();
> $conf['server']['sort_limit'] = 0;
> $conf['server']['cache_folders'] = true;
> $conf['server']['token_lifetime'] = 1800;
> $conf['server']['cachejs'] = 'none';
> $conf['server']['cachecss'] = 'none';
>
> Servers.php contains this:
>
> $servers['binero'] = array(
>     'name' => 'Binero',
>     'server' => 'mail.binero.se',
>     'hordeauth' => false,
>     'protocol' => 'imap/notls',
>     'port' => 143,
>     'smtphost' => 'localhost',
>     'smtpport' => 25,
>     'realm' => '',
>     'preferred' => '',
> );
>
> Versions I'm running:
>
> FreeBSD 7.0
> Horde 3.2.1
> IMP H3 4.2
> Apache 1.3.39
> PHP 5.2.5
>
> Thanks for your help!
>
> Best regards,
> Fredrik Poller
> fredrik.poller at binero.se
>
>
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>


Please create a ticket on http://bugs.horde.org/.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list