Hi all Does anyone have a suggestion for some software, a tiny webserver that is able to run as root and execute CGI scripts? It should be smaller than apache and preferably even smaller than lighttpd. It doesn't need a whole lot of features, it only needs to be able to execute CGI scripts. I have tried a few: nanoweb (which is written in php as well) but has some problems with CGI scripts and when it runs in multi process mode it brings the system load up to exactly 1.00. Nullhttpd, but it's old and unmaintained. Tinyhttpd isn't up for the job as well (kept crashing at times). Thanks, Best regards, Glenn
RedShift wrote:> Hi all > > > Does anyone have a suggestion for some software, a tiny webserver that is able to run as root and execute CGI scripts? It should be smaller than apache and preferably even smaller than lighttpd. It doesn't need a whole lot of features, it only needs to be able to execute CGI scripts. > > I have tried a few: nanoweb (which is written in php as well) but has some problems with CGI scripts and when it runs in multi process mode it brings the system load up to exactly 1.00. Nullhttpd, but it's old and unmaintained. Tinyhttpd isn't up for the job as well (kept crashing at times). >TUX? As I recall it is installed by CentOS5 by default... -- Benjamin Franz
RedShift wrote:> Hi all > > > Does anyone have a suggestion for some software, a tiny webserver that is able to run as root and execute CGI scripts? It should be smaller than apache and preferably even smaller than lighttpd. It doesn't need a whole lot of features, it only needs to be able to execute CGI scripts. > > I have tried a few: nanoweb (which is written in php as well) but has some problems with CGI scripts and when it runs in multi process mode it brings the system load up to exactly 1.00. Nullhttpd, but it's old and unmaintained. Tinyhttpd isn't up for the job as well (kept crashing at times). >Ngnix might work for you, but I'd probably try dropping all the unnecessary modules from apache first to get the size down - and remember that if you run in multi-process mode the memory will be mostly shared. -- Les Mikesell lesmikesell at gmail.com
On Sun, Jan 03, 2010, RedShift wrote:>Hi all>Does anyone have a suggestion for some software, a tiny webserver that is >able to run as root and execute CGI scripts? It should be smaller than >apache and preferably even smaller than lighttpd. It doesn't need a whole >lot of features, it only needs to be able to execute CGI scripts.We use xml-rpc to handle administrative tasks that require root access, listening on 127.0.0.1 with authorization specific to particular tasks. This server is accessible in a very limited fashion from another xml-rpc server accessible through the normal apache server allowing restricted access to functions on the internal server. Setting up an xml-rpc server in python is very easy, and python xml-rpc clients are almost as easy to use as standard function calls. This allows us to handle specific administrative tasks from web pages while minimizing the security aspects of doing them through apache, php, and friends. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 The state represents violence in a concentrated and organized form. The individual has a soul, bat as the state is a soulless machine, it can never be weaned from violence to which it owes its very existence. -- Mahatma Gandhi