[imp] Re: IMP redirect

Arshavir Grigorian ag at m-cam.com
Thu Mar 3 13:43:50 PST 2005


Vitaliy Sholokhov wrote:
> Here's a snipp of my 'config/conf.php' file (sensitive info replaced with
> generic stuff):
> --------
> <?php
> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
> // $Horde: horde/config/conf.xml,v 1.74.2.3 2005/02/03 16:57:42 jan Exp $
> $conf['debug_level'] = E_ALL;
> $conf['max_exec_time'] = 0;
> $conf['use_ssl'] = 0;
> $conf['server']['name'] = $_SERVER['SERVER_NAME'];
> $conf['server']['port'] = $_SERVER['SERVER_PORT'];
> $conf['compress_pages'] = true;
> $conf['umask'] = 077;
> $conf['session']['name'] = 'Horde';
> $conf['session']['cache_limiter'] = 'nocache';
> $conf['session']['timeout'] = 0;
> $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
> $conf['cookie']['path'] = '/horde';
> $conf['sql']['phptype'] = 'mysql';
> $conf['sql']['persistent'] = false;
> $conf['sql']['port'] = '27413';
> $conf['sql']['protocol'] = 'tcp';
> $conf['sql']['hostspec'] = 'localhost';
> $conf['sql']['username'] = 'user';
> $conf['sql']['password'] = 'password';
> $conf['sql']['database'] = 'database';
> $conf['sql']['charset'] = 'iso-8859-1';
> $conf['auth']['admins'] = array('drweb at domain.com');
> $conf['auth']['checkip'] = true;
> $conf['auth']['params']['app'] = 'imp';
> $conf['auth']['driver'] = 'application';
> $conf['signup']['allow'] = false;
> $conf['signup']['approve'] = true;
> $conf['signup']['preprocess'] = false;
> $conf['signup']['queue'] = false;
> $conf['log']['priority'] = PEAR_LOG_NOTICE;
> $conf['log']['ident'] = 'HORDE';
> $conf['log']['params'] = array();
> $conf['log']['name'] = '/home/domain/horde.log';
> $conf['log']['params']['append'] = true;
> $conf['log']['type'] = 'file';
> $conf['log']['enabled'] = true;
> $conf['log_accesskeys'] = false;
> $conf['prefs']['params']['driverconfig'] = 'horde';
> $conf['prefs']['driver'] = 'sql';
> $conf['datatree']['params']['driverconfig'] = 'horde';
> $conf['datatree']['driver'] = 'sql';
> $conf['group']['driver'] = 'datatree';
> $conf['cache']['default_lifetime'] = 1800;
> $conf['cache']['params']['dir'] = Horde::getTempDir();
> $conf['cache']['driver'] = 'file';
> $conf['token']['params']['driverconfig'] = 'horde';
> $conf['token']['driver'] = 'sql';
> $conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';
> $conf['mailer']['params']['sendmail_args'] = '-oi';
> $conf['mailer']['type'] = 'sendmail';
> $conf['vfs']['params']['vfsroot'] = '/tmp';
> $conf['vfs']['type'] = 'file';
> $conf['sessionhandler']['type'] = 'none';
> $conf['problems']['email'] = 'drweb at domain.com';
> $conf['menu']['always'] = false;
> $conf['menu']['links']['help'] = 'all';
> $conf['menu']['links']['options'] = 'authenticated';
> $conf['menu']['links']['problem'] = 'all';
> $conf['menu']['links']['login'] = 'all';
> $conf['menu']['links']['logout'] = 'authenticated';
> $conf['hooks']['username'] = false;
> $conf['hooks']['preauthenticate'] = false;
> $conf['hooks']['postauthenticate'] = false;
> $conf['hooks']['authldap'] = false;
> $conf['kolab']['enabled'] = false;
> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
> ?>
> ---------

Where is your session handler configuration?

$conf['sessionhandler']['type'] = 'sql';

$conf['sessionhandler']['params'] = array();
$conf['sessionhandler']['params']['phptype'] = 'pgsql';
$conf['sessionhandler']['params']['hostspec'] = 'localhost';
$conf['sessionhandler']['params']['username'] = 'horde';
$conf['sessionhandler']['params']['password'] = '*****';
$conf['sessionhandler']['params']['database'] = 'horde';
$conf['sessionhandler']['params']['table'] = 'horde_sessionhandler';

If you don't have it configured, you will keep being redirected to the 
login page.



-- 
Arshavir Grigorian
Systems Administrator/Engineer
M-CAM, Inc.




More information about the imp mailing list