Some of us techies have to maintain tens of webservers with different configurations. With Apache, you can easily throw in .htaccess for each website without having to change web server config. It’s not so simple with Lighttpd, that’s why I needed some script to join global configuration file with a local one. Some perl coding, and lighttpd config merge script is ready.
perl -MCPAN -eshell cpan> install Tie::IxHash
joincfg global.conf local.conf > new.conf lighttpd -f new.conf
As usual, NO WARRANTIES!