[pm-h] Perl local web server

G. Wade Johnson gwadej at anomaly.org
Sun Oct 7 14:53:11 PDT 2007


On Sun, 07 Oct 2007 11:43:09 -0500
Jay Vogt <jvogt at houston.oilfield.slb.com> wrote:

> All,
> 
> Does anyone have experience with setting up a local web server using
> Perl using something like HTTP::Daemon? My objective is to give
> users a web tool which can access their data disks areas (i.e. started
> locally); whereas, the typical web server in their office will not
> have access to them.
> 
> I also ran across http://www.adp-gmbh.ch/perl/webserver/index.html
> which looks simple enough.
> 
> Any thoughts on feasibility, security or lessons learned on this would
> be appreciated.

I have done it as an exercise (and did a talk on it at Houston.pm:
http://houston.pm.org/talks/2004talks/0411Talk/index.htm). The main
downside is the fact that it will not handle much traffic. Normally a
server built with HTTP::Daemon is single-threaded, so it can only
handle one request at a time.

For anything other than a very simple application I normally install
Apache. If Apache is more than you need, I've been seeing good things
about Lighttpd (http://www.lighttpd.net/) lately.

G. Wade
-- 
I like you. You're trouble.         -- Draal - "Voices of Authority"


More information about the Houston mailing list