#34870 [Opn->Bgs]: 404 ErrorDocument in safe mode
| From: | tony2001@php.net | Date: | Fri, 14 Oct 2005 10:05:25 +0000 |
| Subject: | #34870 [Opn->Bgs]: 404 ErrorDocument in safe mode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86575@lists.php.net to get a copy of this message | ||
ID: 34870
Updated by: tony2001@php.net
Reported By: petr at kodytek dot net
-Status: Open
+Status: Bogus
Bug Type: Safe Mode/open_basedir
Operating System: linux
PHP Version: 5.1.0RC1
New Comment:
The eror message is quite clear, isn't it ?
Previous Comments:
------------------------------------------------------------------------
[2005-10-14 11:54:59] petr at kodytek dot net
Description:
------------
If Apache server uses PHP script as 404 ErrorDocument returns following
error message when 404 Error invoked. Previous versions of PHP are gone
OK. Direct access to the script is OK and it's running fine accessing
by URL.
Expected result:
----------------
running script
Actual result:
--------------
Warning: Unknown: SAFE MODE Restriction in effect. The script whose uid
is 2286 is not allowed to access /path/to/404.phtml owned by uid 23708
in Unknown on line 0
Warning: Unknown: failed to open stream: No such file or directory in
Unknown on line 0
Warning: Unknown: Failed opening '/path/to/404.phtml' for inclusion
(include_path='.') in Unknown on line 0
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34870&edit=1