Solved

Starting an applicationon the web server

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Python multiple IF statements 4 77
EXCHANGE 2007, SCRIPTS 67 75
help with PowerShell script for registry permissions 8 54
change the windows script file to BAT 10 31
Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
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…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to dynamically set the form action using jQuery.

863 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