[horde] application that should load after login

Frederic Trudeau ftrudeau at cam.org
Tue Jan 7 16:41:35 PST 2003


Greetings.

I configured Horde so that IMP is actually doing the authentication, this works fine.
Furthermore, I wanted that a user that logs on be automatically redirected to IMP,
without him seeing the Horde framework (but still, can see to bottom tool bar in IMP).

I hardcoded this in prefs.php :

$_prefs['initial_application'] = array(
    'value' => 'imp',
    'locked' => true,
    'shared' => true,
    'type' => 'implict',
    'desc' => sprintf(_("What application should %s display after login?"), _("Horde")));

Then, a whole new issue has arised.

When accessing dev.webmail.cam.org, and trying to log on, I get a file not found error (redirect.php).

Note that Horde is sitting in the docroot of dev.webmail.cam.org, thus, I configured the registry like this :

$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '',
    'initial_page' => 'login.php',
    'icon' => '/horde/graphics/home.gif',
    'name' => _("Horde"),
    'allow_guests' => false,
    'status' => 'notoolbar',
    'templates' => dirname(__FILE__) . '/../templates'
);

$this->applications['imp'] = array(
    'fileroot' => dirname(__FILE__) . '/../imp',
    'webroot' => $this->applications['horde']['webroot'] . '/imp',
    'icon' => $this->applications['horde']['webroot'] . '/imp/graphics/imp.gif',
    'name' => _("Mail"),
    'allow_guests' => false,
    'status' => 'active',
    'provides' => 'mail'
);

See anything wrong ?

Thanks for any pointers.


---------------------------------------------------
Frederic Trudeau
PHP Coder, Colocation, Development
ftrudeau at cam.org
514.529.3000 ext. 246


More information about the horde mailing list