You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Frank M.Ramaekers Jr." <fr...@ibm.net> on 1998/08/25 15:43:54 UTC
mod_cgi/2901: CGI created HTMLs are trying to be executed
>Number: 2901
>Category: mod_cgi
>Synopsis: CGI created HTMLs are trying to be executed
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Tue Aug 25 06:50:00 PDT 1998
>Last-Modified:
>Originator: frankr@ibm.net
>Organization:
apache
>Release: 1.3.1
>Environment:
OS:Windows '95 4.00.950 B
>Description:
I have a CGI that basically creates:
<HTML>
<FRAMESET COLS="%25,*">
<FRAME SRC="tmp\a.HTML">
<FRAME SRC="tmp\b.HTML">
</FRAMESET>
</HTML>
(It also creates the a.HTML and b.HTML too)
Apache believes that when tmp\a.HTML is requested that it should be executed
rather than sent.
error.log:
[Mon Aug 24 21:12:00 1998] [error] d:/apache/cgi-bin/tmp/1270011099t.html is not executable; ensure interpreted scripts have "#!" first line
[Mon Aug 24 21:12:00 1998] [error] (2)No such file or directory: couldn't spawn child process: d:/apache/cgi-bin/tmp/1270011099t.html
[Mon Aug 24 21:12:00 1998] [error] d:/apache/cgi-bin/tmp/1270011099p.html is not executable; ensure interpreted scripts have "#!" first line
[Mon Aug 24 21:12:00 1998] [error] (2)No such file or directory: couldn't spawn child process: d:/apache/cgi-bin/tmp/1270011099p.html
Notes:
The file is being created in the cgi-bin/tmp directory.
>How-To-Repeat:
>Fix:
Assume that *.html is not an executable?
>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! ]