[Tickets #6119] PATH_INFO problems
bugs at horde.org
bugs at horde.org
Wed Jan 16 20:24:40 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=6119
-----------------------------------------------------------------------
Ticket | 6119
Created By | tedm at ipinc.net
Summary | PATH_INFO problems
Queue | DIMP
Version | HEAD
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
tedm at ipinc.net (2008-01-16 15:24) wrote:
Per the docs, "DIMP requires a web server that correctly sets the PATH_INFO
environment variable for all PHP scripts. Every modern web server
supports this"
Incorrect. Apache version 1.3.39 does not support "AcceptPathInfo On"
The docs lead the user to believe it is.
One possible solution if running under PHP5 might be to add
$_SERVER['PATH_INFO'] = (isset($_SERVER['ORIG_PATH_INFO'])) ?
$_SERVER['ORIG_PATH_INFO'] : ' ';
to the beginning of imp.php and dimple.php since they are the only scripts
that support it, and I think PHP5 contains the ORIG_PATH_INFO variable (but
I'm not sure since I don't run PHP5)
PHP4 offers _SERVER["REQUEST_URI"] and _SERVER["PATH_TRANSLATED"] but
that's it. Perhaps a bit of parsing of these?
Horde, IMP, and all the other framework programs run fine on Apache 1.3
and PHP4. It seems pointless to hamstring dimp since it's unlikely a site
that has a running IMP setup is going to mess around with changing their
Apache and PHP configs just to support it.
If there's no interest in the likely trivial amount of coding to correct
this, the restrictions against running it under Apache 1.3 and PHP4/5
should be made clear in the install documentation
More information about the bugs
mailing list