The following reply was made to PR mod_cgi/2901; it has been noted by GNATS.
From: Marc Slemko <[EMAIL PROTECTED]> To: "Frank M. Ramaekers Jr." <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: RE: mod_cgi/2901: CGI created HTMLs are trying to be executed Date: Tue, 25 Aug 1998 15:14:09 -0700 (PDT) On 25 Aug 1998, Frank M. Ramaekers Jr. wrote: > The following reply was made to PR mod_cgi/2901; it has been noted by GNATS. > > From: "Frank M. Ramaekers Jr." <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Subject: RE: mod_cgi/2901: CGI created HTMLs are trying to be executed > Date: Tue, 25 Aug 1998 16:12:06 -0600 > > Yes I understand this. > > I have the following setup: > > d:\Apache executables > d:\Apache\cgi-bin CGI directory > d:\Apache\root Server root directory > > When a CGI is executed out of d:\Apache\cgi-bin directory and creates files > (HTML to be used in <FRAMESET>), the refrenced URL is referenced from the > CGI directory: > > <FRAME SRC="tmp/a.HTML"> becomes d:\Apache\cgi-bin\tmp\a.HTML > [Mon Aug 24 21:06:21 1998] [error] d:/apache/cgi-bin/tmp/1270011096t.html is > not executable; ensure interpreted scripts have "#!" first line > [Mon Aug 24 21:06:21 1998] [error] (2)No such file or directory: couldn't > spawn child process: d:/apache/cgi-bin/tmp/1270011096t.html > > <FRAME SRC="/tmp/a.HTML"> becomes d:\Apache\cgi-bin\\tmp\a.HTML.EXE > [Mon Aug 24 21:01:05 1998] [error] (2)No such file or directory: script not > found or unable to stat: d:/apache/cgi-bin/tmp/1270011093P.HTML.EXE > > How do I dynamically create an HTML from a CGI that won't be intrepreted as > being a CGI (executable)? Put it in a directory that you haven't told Apache is a CGI directory! eg. ../somedir As we try to state very clearly, the bugdb is _NOT_ for user support questions, but is only for things that you have reason to know are bugs or you have already posted to Usenet, etc. without a response.
