Solved

Starting an applicationon the web server

Posted on 1997-12-08
3
146 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 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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.
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
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…

762 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

22 Experts available now in Live!

Get 1:1 Help Now