[imp] imp problem

Jan Schneider jan@horde.org
Tue, 22 Jan 2002 12:47:22 +0100


Zitat von Ilya <mail@krel.org>:

> i guess so, i set my horde to be in the root
> so :
> $this->applications['horde'] = array(
>     'fileroot' => dirname(__FILE__) . '/..',
>     //'webroot' => '/horde',
>     'webroot' => '',
>     'initial_page' => 'login.php',
>     'icon' => '/graphics/home.gif',
>     'name' => _("Horde"),
>     'allow_guests' => true,
>     'show' => true,
>     'templates' => dirname(__FILE__) . '/../templates',
>     'cookie_domain' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
>     'cookie_path' => '/',
>     'server_name' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
>     'server_port' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_PORT']
> );
> and than:
> $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' => true,
>     'show' => true
> );
> 
> do i need to change anything else to run it in root of web server?

I think you must set an alias in httpd.conf, but I'm not sure about this. 
There are some threads on this list on how to set up Horde or IMP as the 
webroot.

Jan.

--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::