[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Starting an applicationon the web server

Posted on 1997-12-08
3
Medium Priority
?
158 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
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
faster earned 200 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses
Course of the Month20 days, 10 hours left to enroll

867 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