[Tickets #2505] NEW: Horde's use of PHP_SELF to determine "webroot" creates problems with symlinked directories

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Aug 24 06:00:34 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2505
-----------------------------------------------------------------------
 Ticket             | 2505
 Created By         | nick.maynard at alumni.doc.ic.ac.uk
 Summary            | Horde's use of PHP_SELF to determine "webroot" creates problems with symlinked directories
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


nick.maynard at alumni.doc.ic.ac.uk (2005-08-24 06:00) wrote:

Horde uses PHP_SELF to determine "webroot" in registry.php

My server setup uses the following:
horde-3.0   (real directory, where horde-3.0 lives)
horde->horde-3.0   (symlink)

This creates problems with the following:
- I direct my users to use /horde, and they are redirected to /horde-3.0 by
Horde
- My cookie path setting of "/horde" means that cookies can't be used for
sessions

Horde 2.x allowed admins to force the "webroot" setting, which effectively
bypassed this problem.

I notice that "webroot" is now derived from PHP_SELF - can we include a
configuration option that allows the admin to force this to any value he
wishes?

Cheers,
Nick




More information about the bugs mailing list