re:Re: FastCGI, NCSA 1.5.2 & SSI

Webmaster (web@web.inetstrat.com)
Tue, 21 Jan 1997 09:34:45 -0500 (EST)

Date: Tue, 21 Jan 1997 09:34:45 -0500 (EST)
From: Webmaster <web@web.inetstrat.com>
To: Mike Baptiste <baptiste@nortel.ca>
Subject: re:Re: FastCGI, NCSA 1.5.2 & SSI
In-Reply-To: <199701202041.PAA27487@relay.openmarket.com>
Message-Id: <Pine.LNX.3.91.970121093326.4744A-100000@web.inetstrat.com>

On 20 Jan 1997, Mike Baptiste wrote:

> The NCSA server disallows an exec cgi SSI (CGI or FastCGI - doesn't matter) 
> IF you have data passed (via QUERY_STRING or PATH_INFO)  The basis for this 
> was allowing PATH Translations (to datafill PATH_TRANSLATED from PATH_INFO) 
> on an SSI would take too much time so they disallowed it.  Well, when they 
> did that they disallowed data being passed in via QUERY_STRING as well (All 
> they do is check the filename of the cgi and ensure nothing else exists at 
> the end of the URL).  According to the NCSA designer I spoke with it just 
> happened and no one seemed to care.

Quick solution: make a /bin/sh wrapper for the CGI in question.  export 
all your variables.

---[ Howie ]---[ webmaster@inetstrat.com ]---[ http://www.inetstrat.com ]---
     Integrated Network Strategies: There _IS_ a right way to do it!
                            (301)-617-0877