Solved

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

Posted on 2001-07-16
2
255 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 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

739 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