Solved

SSI  <!--#EXEC CGI="header.cgi?query --> problem

Posted on 2001-07-16
2
233 Views
Last Modified: 2013-12-25
I have a index.html file which contain a SSI call to a header cgi file. Does anyone know if my index.html contain some query can the query be pass to the header cgi file in the SSI call.

Meaning if I call the index.html file from the browser with the following query:

http://localhost/test/index.html?category=school&subject=math

can the query be pass to the SSI like this

<!--#EXEC CGI="header.cgi?category=school&subject=math -->
0
Comment
Question by:ghgan
  • 2
2 Comments
 
LVL 16

Accepted Solution

by:
maneshr earned 20 total points
ID: 6423262
ghgan,

"..Meaning if I call the index.html file from the browser with the following query:.."

Yes. that can be done. For this you have to rename your index.html file as index.shtml

here is a sample index.shtml file

<!--#EXEC CGI="header.cgi?<!--#echo var="QUERY_STRING_UNESCAPED"-->-->


Hope that helps.
0
 
LVL 16

Expert Comment

by:maneshr
ID: 6601913
ghgan,

Did you get the solution you were looking for?

Let me know.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to dynamically set the form action using jQuery.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now