You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Bob McLaren <Bo...@fssi-ca.com> on 1999/04/15 19:36:19 UTC

mod_log-any/4255: error_log not logging "file not found"s for .PHP documents

>Number:         4255
>Category:       mod_log-any
>Synopsis:       error_log not logging "file not found"s for .PHP documents
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Apr 15 10:40:01 PDT 1999
>Last-Modified:
>Originator:     BobMcLaren@fssi-ca.com
>Organization:
apache
>Release:        1.3.6
>Environment:
Linux www.fssi-ca.com 2.0.35 #1 Tue Jul 14 23:56:39 EDT 1998 i686 unknown
>Description:
Usually, the error_log file will report when a client requests a non-existant file.  But nothing is appended to the error_log when a .PHP document comes up missing.
The configured ErrorDocument for 404 does show up though.
I'm assuming that this would not be a problem if I had not installed the PHP module.
>How-To-Repeat:
Install PHP precompiler from www.php.net and then look for a non-existant .PHP file on your server.
>Fix:
My hypothesis (undereducated guess) is that the PHP module still attempts to parse and somehow does not pass control back to apache to record the error.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]