ID:               20910
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: SuSE 7.2
 PHP Version:      4.3.0RC2
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

My apache 1.X does not have PATH_INFO avaliable, so it is not just
Apache 2 where it may not avaliable. Generally, if you a rellying on
any enviroment variables you should ALWAYS checks for their avaliablity
before blindly using them.
If the user/admin feel this feature is import surely they can enable it
via httpd.conf, I don't see PHP should try to force this setting to ON.


Previous Comments:
------------------------------------------------------------------------

[2002-12-09 11:10:49] [EMAIL PROTECTED]

Maybe this is more of a feature request, but here it goes:
New in Apache 2 is the possibility to turn off PATH_INFO,
which was always on in Apache 1. According to the Apache
docs, the _default_ value for AcceptPathInfo is given by the
module used to handle a script (rather than being globally
on or off). For PHP the default is off rather than on, and this
breaks old scripts unless AcceptPathInfo is turned on in httpd.conf.
It seems reasonable to have the old behavior be the default,
rather than a behavior which potentially breaks old scripts without
affecting security one way or the other, and as far as I can see
the default is dictated by PHP.
 
I, of course, would know how to turn AcceptPathInfo on if I were
using Apache 2, but it seems that the world is full of users who
can't be bothered to read the documentation and then complain
_to me_ about 404 errors.

If I've missed something crucial, feel free to trout me. :-)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20910&edit=1

Reply via email to