Migrate to Flask and lighttpd