Page 1 of 1

Apache appears to finally have some competition

PostPosted: Thu May 14, 2009 8:06 pm
by iblis
... In the form of the Cherokee web server. I've tinkered with it a bit, and while it doesn't have the million or two modules that Apache does, it's way more user-friendly. Instead of tinkering with a config file (though you have that option, as well), it has a python-based, web-accessible frontend that you can use to add virtual hosts, ~user style directories, and data sources.

The footprint is pretty amazing, too, in both file size:

Code: Select all
discord ~ # du $(which apache2)
336   /usr/sbin/apache2
discord ~ # du $(which cherokee)
12   /usr/sbin/cherokee

and libraries loaded:

Code: Select all
discord ~ # ldd $(which apache2) =>  (0xb7fb1000) => /lib/ (0xb7f78000) => /lib/ (0xb7f48000) => /usr/lib/ (0xb7f28000) => /usr/lib/ (0xb7f21000) => /usr/lib/ (0xb7dcf000) => /usr/lib/ (0xb7dad000) => /usr/lib/ (0xb7d84000) => /lib/ (0xb7d7f000) => /lib/ (0xb7d76000) => /lib/ (0xb7d44000) => /lib/ (0xb7d2c000) => /lib/ (0xb7d28000) => /lib/ (0xb7bea000)
   /lib/ (0xb7fb2000)

discord ~ # ldd $(which cherokee) =>  (0xb7f28000) => /usr/lib/ (0xb7dca000) => /lib/ (0xb7dc6000) => /lib/ (0xb7c89000)
   /lib/ (0xb7f29000)

Oh, and did I mention that it's fast?

Best of all, it supports Django seamlessly via fastcgi/scgi, which (IMHO) is easier to lock down security-wise in a multi-hosting environment than something like mod_python. Similar support exists for the grungy languages, such as PHP and Perl. :D

If you haven't tried it, Ubuntu's Jaunty Jackalope (or even Hardy Heron, if you're horribly out of date) has it in the apt repositories, and it looks like Gentoo has a pretty recent version in portage (do USE=admin emerge cherokee to get the web-based goodness).