<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>_detect_webroot() does not work</title> 
  <pubDate>Fri, 10 Apr 2026 20:05:50 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/5345</link> 
  <atom:link rel="self" type="application/rss+xml" title="_detect_webroot() does not work" href="https://bugs.horde.org/ticket/5345/rss" /> 
  <description>_detect_webroot() does not work</description> 
 
   
   
  <item> 
   <title>On my system (Windows 2000 SP4, Apache 2.0.59, PHP 5.2.0), _</title> 
   <description>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 &quot;D:/webroot/horde/&quot;

&lt;Directory &quot;D:/webroot/horde&quot;&gt;

    Allow from all

    DirectoryIndex index.php

&lt;/Directory&gt;



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] &quot;GET /horde/ HTTP/1.1&quot; 302 26 &quot;-&quot; &quot;Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3&quot;

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

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



Until Firefox says the redirect won&#039;t allow to work and stops. 



When I set the webroot manually Horde started to work.

</description> 
   <pubDate>Wed, 09 May 2007 19:40:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5345#t32835</link> 
  </item> 
   
  <item> 
   <title>Duplicate of bug 4126</title> 
   <description>Duplicate of bug 4126</description> 
   <pubDate>Wed, 09 May 2007 20:36:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5345#t32844</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
