[cgiapp] small webserver

Ron Savage ron at savage.net.au
Tue Aug 3 18:32:25 EDT 2010


Hi

On Tue, 2010-08-03 at 13:56 -0700, Mark Fuller wrote:
> On Tue, Aug 3, 2010 at 12:07 PM,  <bfc0713 at comcast.net> wrote:
> > If CGI::Application doesn't have it's own web-serving engine,
> > does anyone have a favorite very small server that they've used
> > with cgiapp?

See also 'tiny' at http://www.acme.com/software/thttpd/

Here's my config file /home/ron/misc/thttpd/thttpd.conf:

cgipat=**.cgi
dir=/dev/shm/homepage
host=127.0.0.1
logfile=/home/ron/misc/thttpd/thttpd.log
pidfile=/home/ron/misc/thttpd/thttpd.pid
port=5000
user=ron

You'd probably use port 80. I happen to have Engine X (nginx) running on
port 80, and redirecting CGI script requests to tiny.

-- 
Ron Savage
http://savage.net.au/
Ph: 0421 920 622



More information about the cgiapp mailing list