From: p d. t. <pdo...@an...> - 2005-02-17 01:36:16
|
> Hi > > I have a problem with login, when a user is logging in to https://domai= n > he/she gets through redirect.php and to webmail.php but then suddenly > before > anything is shown on the screenl it redirects to > http://domain/squirrelmail/src/webmail.php which causes the page to fai= l > (only port 443 is forwarded), since it is only accessible using https, = if > I > manually change the link in the address bar to https://<link> it works > just > fine. > > I inserted some break points and I can see it gets past redirect.php on= to > webmail.php using https, and then it seems webmail.php calls itself aga= in > using http://domain/squirrelmail/src/webmail.php instead of > https://domain/squirrelmail/src/webmail.php for some reason. > > It seems like it this line do_hook('webmail_top'); in webmail.php but w= ith > my none existent php skills I'm unable to figure out what is causing th= e > error. > > If I comment out do_hook('webmail_top'); all works correctly (so it see= ms) > but I assume it is there for a reason. Yeah, you have the "secure login" plugin installed and configured to drop SSL after login. Turn that off (see the plugin's config file) or don't use the plugin (doesn't sound like you need it). |