in reply to quick and dirty http page server

I did once write such a minimal HTTP server (although it can serve more than one page) here. It uses HTTP::Daemon to do all the heavy lifting, and serves static files.

Because of the simplicity, it dosen't support authentification, CGI, logfiles or anything interesting.

perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web