<?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 in a softlinked directory on linux platform</title> 
  <pubDate>Fri, 10 Apr 2026 13:16:49 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8115</link> 
  <atom:link rel="self" type="application/rss+xml" title="_detect_webroot does not work in a softlinked directory on linux platform" href="https://bugs.horde.org/ticket/8115/rss" /> 
  <description>_detect_webroot does not work in a softlinked directory on linux platform</description> 
 
   
   
  <item> 
   <title>I installed my horde in horde-webmail-1.2.2 and did a 

  % </title> 
   <description>I installed my horde in horde-webmail-1.2.2 and did a 

  % ln -s  horde-webmail-1.2.2 horde

to use horde as URL/working directory.



The /horde/index.php redirect to /login.php (so not to /horde/login.php) which resulted in a 404



I found out that the _detect_webroot function in config/registry.php returned an empty string in as $webroot, because __FILE__ did not match anything from the URL</description> 
   <pubDate>Wed, 25 Mar 2009 09:05:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8115#t53272</link> 
  </item> 
   
  <item> 
   <title>registry.php is a configuration file. Configure it, if the d</title> 
   <description>registry.php is a configuration file. Configure it, if the default settings don&#039;t work for you.</description> 
   <pubDate>Wed, 25 Mar 2009 10:46:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8115#t53274</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
