[imp] Composite driver
Bubuk Gabrok
bubuk.gabrok at yahoo.com
Fri Mar 14 03:45:57 UTC 2008
I have successfully setup Horde and IMP. Things are
working great.
Then I decided to add MIMP. From the admin interface,
I configured MIMP and also make sure that the backend
authentication mechanism is changed to 'Composite
authentication'.
Then at the end of my ~/horde/config/config.php , I
added these:
....
....
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE
THIS LINE. */
$conf['auth']['params']['drivers'] = array(
'imp' => array('driver' => 'application',
'params' => array('app' => 'imp')),
'mimp' => array('driver' => 'application',
'params' => array('app' =>
'mimp')));
$conf['auth']['params']['loginscreen_switch'] =
'_horde_select_loginscreen';
if (!function_exists('_horde_select_loginscreen')) {
function _horde_select_loginscreen()
{
require_once 'Horde/Browser.php';
$browser = new Browser();
if ($browser->isMobile()) {
return 'mimp';
}
return 'imp';
}
}
1) From my PC, I can see that I authenticated thru IMP
2) On my Nokia 9500, I hope to be authenticated thru
MIMP, but unfortunately, I also got the IMP login
screen. Apache log for the Nokia sessionn looks like:
192.168.10.150 - - [14/Mar/2008:11:07:08 +0800] "GET /
HTTP/1.1" 302 26 "-" "Mozilla/4.0 (compatible; MSIE
5.0; Series80/2.0 Nokia9500/06.27 Profile/MIDP-2.0
Configuration/CLDC-1.1)"
192.168.10.150 - - [14/Mar/2008:11:07:09 +0800] "GET
/login.php HTTP/1.1" 302 26 "-" "Mozilla/4.0
(compatible; MSIE 5.0; Series80/2.0 Nokia9500/06.27
Profile/MIDP-2.0 Configuration/CLDC-1.1)"
192.168.10.150 - - [14/Mar/2008:11:07:09 +0800] "GET
/l.html HTTP/1.1" 304 - "-" "Mozilla/4.0 (compatible;
MSIE 5.0; Series80/2.0 Nokia9500/06.27
Profile/MIDP-2.0 Configuration/CLDC-1.1)"
What could have been wrong with my setup. Please help.
--
Bubuk
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
More information about the imp
mailing list