6.0.0-beta1
7/7/25

[#5345] _detect_webroot() does not work
Summary _detect_webroot() does not work
Queue Horde Base
Queue Version 3.1.4
Type Bug
State Duplicate
Priority 2. Medium
Owners
Requester cp (at) sandon (dot) it
Created 05/09/2007 (6634 days ago)
Due
Updated 05/09/2007 (6634 days ago)
Assigned
Resolved 05/09/2007 (6634 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/09/2007 08:36:21 PM Chuck Hagenbuch Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of bug 4126
05/09/2007 07:40:11 PM cp (at) sandon (dot) it Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ _detect_webroot() does not work
Queue ⇒ Horde Base
Reply to this comment
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.


Saved Queries