0W-httpd - simple fast frontend

    I propose a solution on how to quickly and easily put on the server an easy frontend for uploading pictures, css-files and other statics. Since the summer of 2002, I have been using 0W-httpd or ZeroWait httpd for these purposes , as it is often called in various sources (it is better to search for something other than the distribution by the second name).
    Installing and configuring it is quite simple (even too simple):

    • download the current version from the above server
    • unzip
    • standard sequence of commands:
      cd 0W-httpd-0.8d
      ./configure
      make install
      - it is better to run make from root to create the necessary directories
      - by default the web server is started from nobody user, this account must be on the system. Or you can change it at the configuration stage:
      ./configure --owner = myowner --group = mygroup
      - the default web server will be installed in the / var / 0W directory
    • edit the file /var/0W/conf/httpd.conf.frontend-example (comments in koi8r) and rename it to httpd.conf
    • run (from root) / var / 0W / bin / 0W-httpd
      -w I recommend the -w option for more stable operation - in case of critical errors and malfunctions the web server will restart automatically. For a simple frontend, this is not necessary, but if you start to upgrade the code for your tasks, it will come in handy.

    All.

    For finer settings, I recommend reading the description of the configuration file . For example, in addition to front-end tasks, 0W-httpd supports protection against DoS attacks (ConnectionsPerIP directive) and http flood (Antiflood directive).

    Some facts:
    • February 25, 2001 - launch of the first version ( judging by the changes file ).
    • currently used in Liveinternet.ru ranking .
    • I personally met this web server in the summer of 2002 - he saved the freshly baked Yadro.ru banner in the fight against increased traffic. If the configuration with Apache lay with traffic of 2 million banner displays per day, then 0W-httpd allowed to live peacefully up to 40 million per day on the same server.

    My experience using ZeroWait:
    • distribution of banners of banner exchange system
    • distribution of pictures of a closed social network (when distributing, it checks user authorization).

    In both cases, the capabilities of the web server are expanded using built-in home-made modules. If there is interest in this topic, I will describe this process.

    For this web server, I want to say many thanks to its author, Maxim Zotov .

    Also popular now: