HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
CGI SSI Problem
Post new topic   Reply to topic    HTML Help Forum Index -> SSI
View previous topic :: View next topic  
Author Message
JoshuaPaschal



Joined: 15 Nov 2005
Posts: 1

PostPosted: Tue Nov 15, 2005 9:00 pm     CGI SSI Problem Reply with quote

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
Site Admin


Joined: 10 May 2004
Posts: 124

PostPosted: Sun Mar 12, 2006 9:47 am     Reply with quote

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



Joined: 15 Mar 2007
Posts: 2

PostPosted: Thu Mar 15, 2007 9:18 pm     Reply with quote

hi,

try this:
<!--#include virtual="/cgi-bin/search.cgi?${QUERY_STRING}"-->
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> SSI All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial