modified to use lighttpd instead of apache