Reference:
I was curious on how some of these frameworks or CMS differ in terms of response time. So I did this very simple test.
My hardware: dual xeon, 3GB RAM, two 7200 RPM SCSI disks.
Software version: Drupal-5.7, mysql-5.0.54, apache-2.2.8, lighttpd-1.4.18-r3, php-5.2.6_rc1-r1, PECL-APC-3.0.6, Gentoo linux kernel 2.6.24-gentoo-r3
Data: the Drupal database was from a production website, with over 200MB in size, about 9000 nodes, 280 taxonomy terms, and 100 users.
On apache, it uses mod_php, with APC enabled.
On lighttpd, it uses fastcgi, with APC enabled.
To setup cgi-bin access, you have to enable both the mod_alias and mod_cgi in /etc/lighttpd/lighttpd.conf:
server.modules += ( "mod_alias" )
include "mod_cgi.conf"
Lighttpd installation came with a mod_cgi.conf in /etc/lighttpd. Check that file to make sure that it has: