Forum

cgi::fast based program in Hiawatha

yagnaram
25 March 2013, 10:27
Hi,

I am able to run http://www.hiawatha-webserver.org/fastcgi.pl.txt successfuly using Hiawatha webserver by startin this program to run in the background. This program works since it listens for a particular port. How does a program similar to http://search.cpan.org/dist/CGI/lib/CGI/Fast.pm work? Should I use cgi-fcgi to invoke the fastcgi program(cgi-fcgi -start -connect :2005 /path/to/your/fastcgi/program)?


Please let em know. I understand if this out side of the Hiawatha webserver. CGI::Fast would allow me to use existing cgi.pm modules whereas the FCGI does not allow more in terms of forms processing and sessions.

Hiawatha version:
Operating System: freebsd

Thanks a lot for reading!

Yag
Hugo Leisink
25 March 2013, 10:39
I don't know Perl very well, but my guess is that the first program is one that should be spawned by the webserver and communicates via pipes. Read the CGI and FastCGI HOWTO if you don't know what that means. If I'm correct about that, you could indeed use the cgi-fcgi tool.
yagnaram
25 March 2013, 17:11
Hi Hugo,

Thanks a lot for replying. I am looking into this.

Yag
This topic has been closed.