www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William F. Polik" <po...@HOPE.CIT.HOPE.EDU>
Subject RE: mod_include/1814: exec cmd SSI directive fails in Win95
Date Tue, 17 Feb 1998 18:30:01 GMT
The following reply was made to PR mod_include/1814; it has been noted by GNATS.

From: "William F. Polik" <polik@HOPE.CIT.HOPE.EDU>
To: Marc Slemko <marcs@znep.com>
Cc: apbugs@Apache.Org
Subject: RE: mod_include/1814: exec cmd SSI directive fails in Win95
Date: Tue, 17 Feb 1998 13:21:08 -0500

 At 10:24 AM 2/16/98 -0700, you wrote:
 >>      <!--#exec cmd="DIR"-->
 >Possibly related to the fact that "dir" isn't a command, it is just
 >something that the command interpreter can parse.
 This also fails for MEM, which is a built-in command.
 >>      <!--#exec cmd="perl c:\htdocs\wfp\ssitest1.cgi"-->
 >Possibly a problem with not specifying a directory for perl.
 This fails if I specify the path to perl (both with foward and with back
 >>      <!--#exec cmd="/cgi-bin/ssitest1.cgi"-->
 >Erm... please go through the docs again.  exec cmd runs something from the
 >_local_ filesystem.  You don't have a /cgi-bin directory.  Try using
 >include virtual instead.
 This was a desperate attempt!
 Upon additional reseacrh in the newsgroups, I have not found a single
 instance of someone getting the SSI "exec cmd" to work.
 However, I do find one claim of someone getting the SSI "exec cgi" to work:
      Subject:      Re: Apache 1.3b3/Win32  SSI exec cmd ?
      From:         flimflam@sham.org (DiE SpAm, DiE!)
      Date:         1997/11/30
      Message-ID:   <65qnvs$os5@snews3.zippo.com>
      Newsgroups:   comp.infosystems.www.servers.ms-windows
      If you are calling a CGI, wether it be a Perl script or compiled
      .EXE, the best SSI call is such as:
      <!--#exec cgi="testcgi.exe" -->
      Works great for me, hope this helps!!
 I also see that someone added the following to PR#1721:
      There is some logic in mod_include that does not execute
      the CMD but executes the .shtml file it came from.
      If I get further I will send the code to you.
 My question to you is: Do you have any concrete information that the SSI
 "exec cmd" works in the 1.3b3/win32 version of Apache?  I.e., do you use
 it, or have you seen a report of someone using it?  If so, I've got more
 playing around to do!  If not, I think it doesn't work.
 Will Polik
 William F. Polik             email: polik@hope.edu
 Department of Chemistry      url:   http://sgi.chem.hope.edu/~polik
 Hope College                 phone: (616) 395-7639
 35 East 12th Street          fax:   (616) 395-7118
 Holland, MI  49422-9000             

View raw message