| 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 | 5/9/07 (6911 days ago) |
| Due | |
| Updated | 5/9/07 (6911 days ago) |
| Assigned | |
| Resolved | 5/9/07 (6911 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Duplicate
bug 4126State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ _detect_webroot() does not work
Queue ⇒ Horde Base
_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.