You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/07/02 05:11:45 UTC
Re: WWW Form Bug Report: "SSI exec does not forward result from (fwd)
I've been going back and fore with this guy today trying to track
down a problem with SSI.
He has a csh CGI script that looks and behaves fine. It also works
with 1.0.5 and when called directly, but with b4 it barfs on a bad
script header when included with #exec cgi=
The only thing I can think of is that he's including with
exec cgi and the script ends with .cgi I'm worried that there are
two calls to scan_script_headers (or whatever it's called) in this case.
What appears to be happening is that the "Content-type: text\html\n\n"
is read but the next line is rejected as a bad header.
I've told him that I'm handing this over the the list in the hope
that someone can track down the bug.
I haven't read by lanl mailbox all weekend, so I don't know what state
1.1 is in. If my suspicion about the double call to scan the headers is
correct, this might be a showstopper.
rob
-=-=-=-=-=
Message-Id: <96...@tmnext.tmnext.linc.or.jp>
Content-Type: text/plain
Mime-Version: 1.0 (NeXT Mail 3.3J v130.3)
From: Takaaki Matsumoto <ta...@tmnext.linc.or.jp>
Date: Mon, 1 Jul 96 11:34:36 +0900
To: robh@imdb.com
Subject: Re: WWW Form Bug Report: "SSI exec does not forward result from
References: <199607010146.TAA20165>
> >Here is what I get....
>
> that looks okay. I can't reach you site to try it myself though.
>
> How are you including this in a document? (exact syntax used). ?
>
>
URL is different on server for OUTSIDE.
The HTML document including CGI ....
http://www.linc.or.jp/~takaaki/Family/takaaki/Labo/server-include.shtml
Most part of that document are written in Japanese, so you'll see
bunch of meaning-less characters.
For your convenience, here is part of that HTML document.
==== part of server-include.shtml ====
<b><!--#exec cgi="/~takaaki/cgi-bin/echo-SSI.cgi"--></b>
<pre>
<!--#exec cgi="/~takaaki/cgi-bin/echo-SSI.cgi"-->
</pre>
======================================
Please note that the server for OUTSIDE is still 1.0.5,
insted of 1.1.b4 which we are focusing.
---
Takaaki Matsumoto (TM088JP)
takaaki@tmnext.linc.or.jp (HOME) http://www.linc.or.jp/~takaaki/
Public Key is available on public key server or
http://www.linc.or.jp/~takaaki/Family/takaaki/takaaki_public.txt