I just started using this script, and discoverd two flaws:
- it doesn't support wildcard domains, something I frequently use
- the .htaccess patch is to slow on big sites (and i mean BIG, over 100k folder really kills the perfornance)
Below is a patched version that adds wildcard support.
The .htaccess patch is included but disabled
I also added a few extra lighttpd options; especially a port parameter, so you can run lighttpt next to your apache2 to test the performance/validy of this script.
(had to rename file to .txt for the forum to accept it)