[Tickets #5345] _detect_webroot() does not work

bugs at bugs.horde.org bugs at bugs.horde.org
Wed May 9 19:40:11 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5345
-----------------------------------------------------------------------
 Ticket             | 5345
 Created By         | cp at sandon.it
 Summary            | _detect_webroot() does not work
 Queue              | Horde Base
 Version            | 3.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


cp at sandon.it (2007-05-09 12:40) wrote:

On my system (Windows 2000 SP4, Apache 2.0.59, PHP 5.2.0),
_detect_webroot() in registry.php is unable to detect the correct root. In
my httpd.conf I have:

Alias /horde "D:/webroot/horde/"
<Directory "D:/webroot/horde">
    Allow from all
    DirectoryIndex index.php
</Directory>

The bug leads to a strange behaviour, where horde generates URLs that
enter a redirect loop:

192.168.200.10 - - [09/May/2007:20:30:40 +0200] "GET /horde/ HTTP/1.1" 302
26 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.3)
Gecko/20070309 Firefox/2.0.0.3"
192.168.200.10 - - [09/May/2007:20:30:41 +0200] "GET
/horde/index.php/login.php HTTP/1.1" 302 26 "-" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; it; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"
192.168.200.10 - - [09/May/2007:20:30:42 +0200] "GET
/horde/index.php/login.php HTTP/1.1" 302 26 "-" "Mozilla/5.0 (Windows; U;
Windows NT 5.1; it; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3"

Until Firefox says the redirect won't allow to work and stops. 

When I set the webroot manually Horde started to work.




More information about the bugs mailing list