You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@organic.com> on 1996/09/27 08:02:51 UTC

sorry to keep banging my head on this, but...

Why is this not allowed?

  <!--#exec cgi="foo.cgi?query" -->

or

  <!--#exec cgi="foo.cgi/bar" -->

I remember mumblings about NCSA compatibility, but bugwards compatibility as
well?

The only complicating factor I'm aware of is that the query string *can* get to
the CGI script if it's applied to the HTML file which contains the SSI itself:

  http://foo/bar.html?query

Supporting that is still possible; just make a query string on the CGI script
take precedence if both exist.  That shouldn't break any system which relies
upon that behavior.  

Comments?

	Brian

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS


Re: sorry to keep banging my head on this, but...

Posted by Brian Behlendorf <br...@organic.com>.
I really shouldn't bang so hard next time.  I just remembered that

  <!--#include virtual="foo.cgi/path_info?query_string" -->

will get me what I want.  Sorry about that.  I'll save this around to add to
the mod_include documentation.

	Brian

On Thu, 26 Sep 1996, Brian Behlendorf wrote:
> Why is this not allowed?
> 
>   <!--#exec cgi="foo.cgi?query" -->
> 
> or
> 
>   <!--#exec cgi="foo.cgi/bar" -->
> 
> I remember mumblings about NCSA compatibility, but bugwards compatibility as
> well?
> 
> The only complicating factor I'm aware of is that the query string *can* get to
> the CGI script if it's applied to the HTML file which contains the SSI itself:
> 
>   http://foo/bar.html?query
> 
> Supporting that is still possible; just make a query string on the CGI script
> take precedence if both exist.  That shouldn't break any system which relies
> upon that behavior.  
> 
> Comments?
> 
> 	Brian
> 
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS
> 
> 
> 

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  www.apache.org  hyperreal.com  http://www.organic.com/JOBS