HTML Help Forum Index HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

CGI SSI Problem
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum Index -> SSI
View previous topic :: View next topic  
Author Message
JoshuaPaschal



Joined: 15 Nov 2005
Posts: 1

Posted: Tue Nov 15, 2005 9:00 pm     CGI SSI Problem  

I am writing in regards to a similar post made on http://lists.evolt.org/archive/Week-of-Mon-20050124/168328.html

I have been trying to find out (for the past 12 hours) how to do what you are explaining in the above link.

Right now I have the following:

<!--#set var="body" value="/cgi-bin/search.cgi?${QUERY_STRING}"-->
<!--#include virtual="${body}" -->

With that, I am getting:

HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Wed, 16 Nov 2005 05:13:19 GMT X-Powered-By: ASP.NET Connection: close Content-Type: text/html
404 Object Not Found


However with just this:

<!--#include virtual="/cgi-bin/search.cgi" -->

The complete search.cgi file prints across the screen (does not execute).

With this:
<!--#exec cgi="/cgi-bin/search.cgi" -->

The CGI file executes just fine. HOWEVER, I want to be able to pass that CGI variables and the variables are going to be dymanic.

Basically, I am have an SHTML file that passes variables to another SHTML file that in turn calls the CGI file and is supposed to pass the exact same variable to it.

Any suggestions?
zylstra



Joined: 10 May 2004
Posts: 125

Posted: Sun Mar 12, 2006 9:47 am      

Did you try Code: <!--#set var="body" value="/cgi-bin/search.cgi?${QUERY_STRING}"-->
<!--#exec cgi="${body}" --> ?
roberts



Joined: 15 Mar 2007
Posts: 2

Posted: Thu Mar 15, 2007 9:18 pm      

hi,

try this:
<!--#include virtual="/cgi-bin/search.cgi?${QUERY_STRING}"-->
 
 
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum Index -> SSI
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group