[imp] load balancing

dominique.dalponte at utbm.fr Dominique.Dalponte at utbm.fr
Wed Jan 26 01:51:56 PST 2005


hello the team

  I won't to use scalable horde2.2.7/imp with a simple dns round-robin :

   webmail  ->  webmail1 or webmail2

  I configure the server appache whith ServerName webmail1 or webmail2

  but when I run the horde , the taskbar in botton the first page (where there
is the icon mail, calendar, logout) point direct to the webmail adresse and not
to webmail1 or 2

  I change the parameter of the fonction Horde::url in the menu.php
(/horde/menu.php) to use the full adresse of the serveur
(http://webmail1.mydomain.fr/<webroot>"

 is it the best way ?

best regards

dom


  here is the diff :

[root at webmail /horde]# diff /tmp/horde/menu.php menu.php
3c3
<  * $Horde: horde/menu.php,v 2.14.2.12 2003/01/03 12:57:45 jan Exp $
---
>  * $Horde: horde/menu.php,v 2.14.2.13 2004/03/26 22:43:21 jan Exp $
5,6c5,6
<  * Copyright 1999-2003 Charles J. Hagenbuch <chuck at horde.org>
<  * Copyright 1999-2003 Jon Parise <jon at horde.org>
---
>  * Copyright 1999-2004 Charles J. Hagenbuch <chuck at horde.org>
>  * Copyright 1999-2004 Jon Parise <jon at horde.org>
36c36
<             $moduletext .= Menu::createItem(Horde::url($params['webroot'] .
'/' . (isset($params['initial_page']) ? $params['initial_page'] : '')),
---
>             $moduletext .= Menu::createItem(Horde::url($params['webroot'] .
'/' . (isset($params['initial_page']) ? $params['initial_page'] : ''),true),
47c47
< $moduletext .=
Menu::createItem(Horde::applicationUrl('login.php?reason=logout'), _("Log
out"), 'logout.gif', null, 'horde_main');
---
> $moduletext .=
Menu::createItem(Horde::applicationUrl('login.php?reason=logout',true), _("Log
out"), 'logout.gif', null, 'horde_main');







-- 
Dominique Dalponte
Utbm, Centre de Ressource en informatique
90010 Belfort Cedex, France
tél : 03/84/58/31/49    http://www.utbm.fr


More information about the imp mailing list