Skip to main content

Questions tagged [cgi]

1 vote
1 answer
635 views

Why is a servlet more efficient than CGI?

I have been doing some research in to java servlets and I am having trouble understanding why it more efficient then a cgi based solution. The reason for my lack of understanding is that java ...
SteelToe's user avatar
  • 1,599
1 vote
1 answer
105 views

What criteria should I use for determining whether or not to terminate a daemon (to restart it later)?

Should a daemon, forked from a CGI script (whenever the CGI script is called and the daemon is not yet running), hang running (most of the time just waiting for a connection) all time, or should it be ...
porton's user avatar
  • 791
2 votes
2 answers
1k views

"web-enabling" an existing C++ app

I've got a Windows application coded in C++. I want to provide a web-based interface to them, with a view to porting them to embedded Linux systems. The web pages are a series of dynamic 'status pages'...
Roddy's user avatar
  • 759
1 vote
2 answers
98 views

One C codebase as an standalone application as well as Fast-CGI and Apache module

I'm familiar with C, but haven't written any medium or large application in it. I have a requirement to built an application that can be run as a standalone console application as well as Fast-CGI and ...
Mahdi's user avatar
  • 2,003
5 votes
1 answer
562 views

How should I handle a HTTP response whose body takes time to generate, and whose headers cannot be determined until generation is complete?

Background My web application lives on a centralised server in the product's "network", and provides the means to manage/configure various distributed devices. The server also logs various ...
Lightness Races in Orbit's user avatar
0 votes
1 answer
1k views

CGI Scripts and Python / Ruby [closed]

I am new to web programming. Now unfortunately, I was a kid during the advent of the world wide web and didn't have access either. So now when I am just starting out, it feels like there's a myriad of ...
Silver's user avatar
  • 103
2 votes
1 answer
165 views

How can I run a script/subroutine on a Web Server and have that subroutine remain private (eg. Key Generator)?

My Problem: I have been tasked with re-implementing a software key generator routine on an external web server running cPanel v.11.44.1.18. Currently, the key generator is implemented using a ...
Aubrey Robertson's user avatar
0 votes
2 answers
2k views

Is Perl outdated for CGI and FCGI? [closed]

When we did web development in 1996 it was CGI, FCGI and Perl on the backend. Now why is Perl not that popular anymore and instead we use Java, Python, Go, PHP, C# and everything but Perl? To me it ...
Niklas Rosencrantz's user avatar
1 vote
1 answer
238 views

How to wrap console utils in webserver

I have a big dataset (100Mbs/day) and a bunch of console a TCL/TK tools to view it - I want to turn it into a web app that I can build, and others can maintain. In long: my group runs simulations ...
Alex Brown's user avatar
-2 votes
2 answers
1k views

Simple questions about apache and cgi

I'm just learning about using cgi in html files. I've read a lot of stuff on the web, but most of it is all about the trees and not enough about the forest. I'm a top-down learner and I'm having ...
bev's user avatar
  • 417
8 votes
3 answers
2k views

Help understanding server-side scripting

As far as I understand, there are basically 3 options for doing server-side scripting these days: Using scripting languages that can be directly interpreted/executed by the web server (e.g., PHP and ...
Daniel Scocco's user avatar