>Number:         2119
>Category:       mod_cgi
>Synopsis:       Strangely worded error message.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Apr 22 10:40:01 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3b6
>Environment:
Any (Unix, at least)
>Description:
[Wed Apr 22 13:16:24 1998] [error] script not found or unable to stat, reason: 
/prod/pubnix/xdb/libexec/cgi-admin/nph-userinfo
What is the ", reason" doing in this message?  I don't think of the script name
by itself as being the reason for the error.  Rewording would be good.
>How-To-Repeat:
GET a nonexistent CGI.
>Fix:
reword the message to something like:
script not found or unable to stat: /foo/bar/baz.cgi
and perhaps include the strerror(errno) message as well:
script not found or unable to stat: /foo/bar/baz.cgi: Permission denied.
or maybe just use the errno message:
/foo/bar/baz.cgi: No such file or directory.

%0
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to