[Tickets #8115] _detect_webroot does not work in a softlinked directory on linux platform

bugs at horde.org bugs at horde.org
Wed Mar 25 09:05:35 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8115
------------------------------------------------------------------------------
  Ticket             | 8115
  Created By         | wessel at louwris.nl
  Summary            | _detect_webroot does not work in a softlinked directory
                     | on linux platform
  Queue              | Horde Base
  Version            | 3.3.3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


wessel at louwris.nl (2009-03-25 05:05) wrote:

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






More information about the bugs mailing list