Review files for any Apache specific code. Create any needed rewrite rules for lighty's url rewriting mechanisms.
Explore relevant modules such as: # mod_geoip - IP based Country/City lookup # mod_useronline - Online User Tracker Tracks and reports users online by unique ip # mod_usertrack - Cookie-based user tracker # mod_mem_cache - caches static files in memory for faster serving # mod_magnet - Magnet - Replaces mod_cml
As noticed by thierry from http://www.atdi.es/ piwik is lightpd compatible. If you have any problem with the web server please open a specific ticket.