JoshuaPaschal
Programmer
I am writing in regards to a similar post made on
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?
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?