[Kolab-devel] Re: HORDE Install problem

Jan Schneider jan at horde.org
Tue May 18 12:33:34 CEST 2004


Zitat von Stuart Bingë <list at codefusion.co.za>:

> On Thursday 13 May 2004 18:52, Jan Schneider wrote:
>> Zitat von Stuart Bingë <omicron-list at mighty.co.za>:
>> > On Thursday, 13 May 2004 17:38, Jeffrey Walls wrote:
>> >> Ok, I just did a soft link in the /kolab/var/kolab/www directory ln -s .
>> >> redirect.
>> >>
>> >> It worked.
>> >>
>> >> Where the hell is it getting the redirect directory from? How do I get
>> >> rid of it to eliminate the link and make it work as it's supposed to?
>> >>
>> >> Curiouser and curiouser.............
>> >
>> > This is very strange - I've never seen this problem before. My suggestion
>> > would be to discuss it on the Horde development list - Jan and Chuck over
>> > there should be able to give you answers as to what may be causing this
>> > problem.
>>
>> I would have answered here already, if I knew a useful answer. ;-) It is
>> definitely not coming from the inside of Horde, unless you configured this
>> somewhere.
>
> I have a hunch as to what may be causing this - I've just encountered a
> similar problem with a recent Horde CVS checkout.
>
> From what I can see the problem of messed up base URL's for Horde is 
> caused by
> the calculation of $webroot in horde/config/registry.php - it doesn't seem to
> like symlink'd directories. Previously Horde has just had its webroot set to
> '/horde', which works for Kolab if you have the horde directory (or a symlink
> to it) in /kolab/var/kolab/www, however with the new dynamic webroot setting
> it seems to be calculated as the destination of the horde symlink.
>
> In my case $webroot was getting set to '/var/codefusion/projects/horde', as
> this is where my /kolab/var/kolab/www/horde symlink points to. Unfortunately
> I didn't have the time to properly go over this problem, however just setting
> $webroot to '/horde' fixed the problem for me.
>
> Jan, is this an issue with the $webroot calculation in Horde, or are we just
> being stupid with this?

No, that's exactly the drawback of this new webroot calculation. It works
nice wherever you put your horde root, you don't have to change anything in
registry. Unless you use symlinks.

If someone has a nice idea how to make that work with symlinks do, we'd
greatly appreciate a hint.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php




More information about the devel mailing list