<?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>webroot in registry.php is wrong after update from 3.1.3 to 3.1.4</title> 
  <pubDate>Fri, 10 Apr 2026 20:05:49 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/5322</link> 
  <atom:link rel="self" type="application/rss+xml" title="webroot in registry.php is wrong after update from 3.1.3 to 3.1.4" href="https://bugs.horde.org/ticket/5322/rss" /> 
  <description>webroot in registry.php is wrong after update from 3.1.3 to 3.1.4</description> 
 
   
   
  <item> 
   <title>Hi,



Problem:

I did an update of horde-base from 3.1.3 to</title> 
   <description>Hi,



Problem:

I did an update of horde-base from 3.1.3 to 3.1.4 and did reload my already open session. I was greeted by the admin/setup/config.php page without CSS.



Analysis:

The new webroot detection seems to be flawed. The previous one was ok in my environment (apache 2.2, horde as the docroot (not a subdirectory of the docroot)).



The problem is the true branch of the first conditional. The page which is loaded (e.g. /imp/mailbox.php) is used as the webroot instead of the corrent &#039;&#039; or &#039;/horde&#039; (which is also ok in my case, as I have an apache alias for /horde).



Workaround for me:

Set webroot explicitly. So the priority of this bug for _me_ is low.



Bye,

Alexander.</description> 
   <pubDate>Wed, 02 May 2007 12:50:38 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t32467</link> 
  </item> 
   
  <item> 
   <title>It&#039;s not even a bug, because your workaround is nothing else</title> 
   <description>It&#039;s not even a bug, because your workaround is nothing else but setting a configuration value manually.</description> 
   <pubDate>Wed, 02 May 2007 12:56:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t32470</link> 
  </item> 
   
  <item> 
   <title>You provide a function to determine the webroot, and this fu</title> 
   <description>You provide a function to determine the webroot, and this function is used by default (at least this is the case in the FreeBSD package) .



In case this is not used by default by Horde, I file this as a bug report in FreeBSD (just tell me).



But if this is used by default in Horde too, it is a bug in Horde. Either don&#039;t use the function by default so that a user has to set/use it manually, or fix the function to be not broken.



The way it is currently, it is definitively a bug (either in Horde or in the FreeBSD package). I don&#039;t care if the bug is that the function is used by default or if the bug is that the function does not guess right. What I do care about is that it doesn&#039;t work. I care much enough to send a bug report about it so that it can be fixed or other people are at least able to find a solution in case they stumble over the same problem.



Bye,

Alexander.</description> 
   <pubDate>Wed, 02 May 2007 13:41:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t32474</link> 
  </item> 
   
  <item> 
   <title>We _do_ try to make the automatic detection work. It&#039;s only </title> 
   <description>We _do_ try to make the automatic detection work. It&#039;s only there because so many people asked for - I could say demanded - it. We tweak it with almost every release. If you can provide a patch for it that doesn&#039;t break other cases, we&#039;ll certainly commit it. A set of tests for it would be even better.</description> 
   <pubDate>Thu, 03 May 2007 04:16:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t32516</link> 
  </item> 
   
  <item> 
   <title>Hi there,



i got the same problem while installing horde o</title> 
   <description>Hi there,



i got the same problem while installing horde on the webroot in a separate vhost.



In config/registry.php at line 521 some things are replaces with $path, and there is the problem:



Request: GET / HTTP/1.1

Answer: HTTP/1.x 200 OK

Location: http://..../index.php/login.php



where /index.php/ is $path



Best regards.



Andre Hotzler</description> 
   <pubDate>Sun, 06 May 2007 13:25:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t32634</link> 
  </item> 
   
  <item> 
   <title>Can you guys (and anyone else watching this ticket) please p</title> 
   <description>Can you guys (and anyone else watching this ticket) please paste the output of the attached PHP script?</description> 
   <pubDate>Mon, 07 May 2007 14:32:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t32692</link> 
  </item> 
   
  <item> 
   <title>&gt; Can you guys (and anyone else watching this ticket) please</title> 
   <description>&gt; Can you guys (and anyone else watching this ticket) please paste the 

&gt; output of the attached PHP script?



There is the output:



Webroot: 

__FILE__: /var/www/web51/html/horde3/webroot.php 

$_SERVER[&#039;SCRIPT_URL&#039;]: not set 

$_SERVER[&#039;SCRIPT_NAME&#039;]: /webroot.php 

$_SERVER[&#039;PHP_SELF&#039;]: /webroot.php 



URL: http://sub.domain.tld/webroot.php</description> 
   <pubDate>Mon, 07 May 2007 16:24:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t32717</link> 
  </item> 
   
  <item> 
   <title>Duplicate of bug 4126</title> 
   <description>Duplicate of bug 4126</description> 
   <pubDate>Wed, 09 May 2007 20:35:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t32841</link> 
  </item> 
   
  <item> 
   <title>Unfortunately even after following the directions provided h</title> 
   <description>Unfortunately even after following the directions provided here I am still unable to get this to work in my personal installation and I would really like to.  I am on a Windows 2003 Standard Edition web server with PHP 5.2.1 running as a CGI .exe, you can go to http://wiki.spencerteck.com/phpinfo.php for details on my PHP installation to see if I am missing something there.  For an example of exactly what is happening you can go to http://webmail.spencerteck.com and you will see how the page redirects on me there.  You can go to http://webmail.spencerteck.com/config/webroot.php for the webroot output which I will leave up as well.  Any help or direction will be greatly appreciated as I have always been a fan of Horde Webmail but can&#039;t seem to get this to work on a Windows server with IIS 6.0.  Thank you everyone.  Sorry if this is a double post, not sure what article I should post in so posted in both this one and also 4126</description> 
   <pubDate>Mon, 21 May 2007 05:16:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t33228</link> 
  </item> 
   
  <item> 
   <title>Another URL that you can go to in order to get a complete id</title> 
   <description>Another URL that you can go to in order to get a complete idea of what is happen, which appears to be what is listed here is http://webmail.spencerteck.com/imp/index.php and attempt to login with anything at all.</description> 
   <pubDate>Tue, 22 May 2007 21:15:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t33389</link> 
  </item> 
   
  <item> 
   <title>I have at this time given up on the webroot detection and in</title> 
   <description>I have at this time given up on the webroot detection and instead have simply hard coded this in, thank you to everyone that tried to help out there.  </description> 
   <pubDate>Tue, 22 May 2007 21:31:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t33390</link> 
  </item> 
   
  <item> 
   <title>Hi

how could I set up the Path manually, bcause I want to s</title> 
   <description>Hi

how could I set up the Path manually, bcause I want to set up a virtualhost directly to the horde directory.

Thanks

Greetings Jazz</description> 
   <pubDate>Tue, 12 Jun 2007 18:15:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t34018</link> 
  </item> 
   
  <item> 
   <title>&gt; Hi

&gt; how could I set up the Path manually, bcause I want </title> 
   <description>&gt; Hi

&gt; how could I set up the Path manually, bcause I want to set up a 

&gt; virtualhost directly to the horde directory.

&gt; Thanks

&gt; Greetings Jazz



Have a look there:

http://www.hotzeltopf.de/anleitungen/sicherheitsueberlegungen-zu-horde-3-unter-confixx-mit-suphp-5

</description> 
   <pubDate>Tue, 12 Jun 2007 18:38:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t34019</link> 
  </item> 
   
  <item> 
   <title>Thanks very much that works. DANKE ;)</title> 
   <description>Thanks very much that works. DANKE ;)</description> 
   <pubDate>Tue, 12 Jun 2007 20:19:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t34021</link> 
  </item> 
   
  <item> 
   <title>I had the same problem.



I &quot;fixed&quot; it by not using a symbo</title> 
   <description>I had the same problem.



I &quot;fixed&quot; it by not using a symbolic link. I seems that the autodetection of the webroot does not work with symbolic links.





</description> 
   <pubDate>Fri, 16 Nov 2007 17:45:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5322#t38663</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
