?
Solved

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

Posted on 2001-07-16
2
Medium Priority
?
264 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 16

Accepted Solution

by:
maneshr earned 80 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

741 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