[horde] Login.php in an endless redirect loop

Stuart Moore horde at stuartmoore.org.uk
Sun Apr 29 16:46:07 UTC 2007


Now solved.

For reference, if anyone else comes across this: the value of 
$conf['cookie']['path'] in conf.php was incorrect, leading to the login 
page setting the cookie, redirecting, seeing it was unset, redirecting 
with a url based session, then attempting to set the cookie again.

Sounds like I was seeing the same problem as Craig, but he mentions 
setting the cookie path so maybe his has a different root. Craig: maybe 
try playing with $conf['session']['use_only_cookies'] = false?

Stuart Moore

Stuart Moore wrote:
> Hi, I'm trying to install horde on an ubuntu feisty box using the 
> packages in the repository - it reports version 3.1.3-4
> 
> I managed to bring the login page up and got as far as setting up the 
> database - but not creating users. Now I seem to be stuck in an endless 
> redirection loop - see apache logs below. Nothing appears in the horde log.
> 
> My apache "ServerName" wasn't set correctly when I initially got the 
> page to work (it is now) - could that be relevant?
> 
> [IP Address] - - [28/Apr/2007:21:03:27 +0000] "GET /horde3/login.php 
> HTTP/1.1"
>  200 349 
> "http://server.name/horde3/login.php?url=%2Fhorde3%2Fservices%2Fportal%2Fsidebar.php&nosidebar=1" 
> "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.1.3) 
> Gecko/20070309 Firefox/2.0.0.3"
> [IP Address] - - [28/Apr/2007:21:03:27 +0000] "GET 
> /horde3/login.php?url=%2Fhorde3%2Fservices%2Fportal%2Fsidebar.php&nosidebar=1 
> HTTP/1.1" 200 349 "http://server.name/horde3/login.php" "Mozilla/5.0 
> (Windows; U; Windows NT 5.0; en-GB; rv:1.8.1.3) Gecko/20070309 
> Firefox/2.0.0.3"
> [IP Address] - - [28/Apr/2007:21:03:28 +0000] "GET 
> /horde3/login.php?url=%2Fhorde3%2Fservices%2Fportal%2Fsidebar.php&nosidebar=1 
> HTTP/1.1" 200 349
>  "http://server.name/horde3/login.php?url=%2Fhorde3%2Fservices%2Fportal%2Fsidebar.php&nosidebar=1" 
> "Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8.
> 1.3) Gecko/20070309 Firefox/2.0.0.3"
> 
> ... (until something times out)



More information about the horde mailing list