The ZoomViewer project on toollabs uses a custom .lighttpd-conf file that adds a target for a fcgi process:
https://tools.wmflabs.org/zoomviewer/iipsrv.fcgi?FIF=cache/779543aa14d92a2dff180a4cbc0eb2f6.tif&obj=IIP,1.0&obj=Max-size&obj=Tile-size&obj=Resolution-number
This seemed to have stipped working (whereas the regulat php components of teh zoomviewer still work).