[Kolab-devel] Re: HORDE Install problem

Stuart Bingë list at codefusion.co.za
Tue May 18 10:16:02 CEST 2004


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?

Cheers,

-- 
Stuart Bingë
Code Fusion cc.

Office: +27 11 673 0411
Mobile: +27 83 298 9727
Email: s.binge at codefusion.co.za

Tailored email solutions; Kolab specialists.
http://www.codefusion.co.za/




More information about the devel mailing list