I propose a solution for how to quickly and easily put on the server a light front end 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 (look for something about it, in addition to the distribution kit, better by the second name). It is easy to install and configure it (too simple):
download the current version from the above server
unzip
standard command sequence: cd 0w-httpd-0.8d ./configure make install - make is better to run as root to create the necessary directories. - as standard, the web server is started from the user nobody, this account must be in 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 /var/0W/conf/httpd.conf.frontend-example file (comments in koi8r) and rename it to httpd.conf
run (as root) / var / 0W / bin / 0W-httpd -w I recommend the -w option for more stable operation - in case of critical errors and failures, 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 be useful.
Everything.
For more advanced settings I recommend reading the description of the configuration file . For example, in addition to the frontend tasks, 0W-httpd supports protection against DoS attacks (the ConnectionsPerIP directive) and http flood (the Antiflood directive).
I personally met this webserver in the summer of 2002 - he saved the freshly baked banner Yadro.ru in the fight against the increased traffic. If the configuration with Apache lay with traffic of 2 million banner-shows per day, then 0W-httpd allowed to live peacefully up to 40 million per day on the same server.
My experience using ZeroWait:
banner distribution of the banner exchange system
distribution of pictures of a closed social network (when distributing checks the user's authorization).
In both cases, the web server features are enhanced with built-in self-made modules. If there is interest in this topic, I will describe this process. ')
For this web server I want to say a huge thank you to its author - Maxim Zotov .