Lighttpd additions ported from poolmanager