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
Solved

Starting an applicationon the web server

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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

792 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