NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

Replies are listed 'Best First'.
Re: Creating an HTTP Server
by tadman (Prior) on Feb 15, 2001 at 10:08 UTC
    Not sure why this node was deleted, it doesn't seem off-topic, merely, how do you say, demanding?

    HTTP::Daemon should be a good start. There's actually two of them, one by Ralf S. Engelschall (of mod_rewrite fame, and more), and the other by Gisle Aas (LWP), though of course, I could be seeing double.
      I agree with tadman why was this node deleted? In my opinion Perl is the ultimate 'glue' language and well suited for this task. Chromatic himself has written a fully featured web server (his jellybean app).
Re: Creating an HTTP Server
by dvergin (Monsignor) on Feb 15, 2001 at 05:02 UTC
    In the book "Perl Cookbook", chapter 17 on Sockets would be of great help to you in this project. You are going to need either the 'IO::Socket' module (easier) or the 'Socket' module (for more control).

    Also, you need to figure out if you want this mini-server to use forked processes, what protocol you are going to use (e.g. TCP, UDP), and whether it will run as a daemon. Good luck, there is more to this than meets the eye. ;-)