Solved

Starting an applicationon the web server

Posted on 1997-12-08
3
152 Views
Last Modified: 2013-12-25
I'm trying to learn CGI , i just want to know how to start an application to run on a webserver after the client hits a link to that application.
0
Comment
Question by:jubertg
[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
3 Comments
 
LVL 7

Accepted Solution

by:
faster earned 100 total points
ID: 1831587
First you need to config the web server to have a CGI directory, then put your CGI program there, normally it is PERL script but can also be written in other languages such c/c++.  Then the link shall point to the CGI program.  More commonly, there is a form and a submit button, whenever the user clicks the button, the form data is sent to the CGI program.
0
 

Author Comment

by:jubertg
ID: 1831588
thanks for answering my question...but i need more details on this... I'm not actually submitting a form or something... I just wanted to start an application on my web server when ever this link is clicked...
0
 
LVL 7

Expert Comment

by:faster
ID: 1831589
That is the same.

Say you have a cgi, whose url is http://yourhost/yourcgi.cgi.  Then you should have a link such as: http://yourhost/yourcgi.cgi?querystring.

If the cgi program does not need to have any input, then you can omit the ?querystring part.
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

726 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