Package: iipimage
---------- Forwarded message ---------- Hi Mathieu, That's awesome news! Thanks for your help with this! :-) I've tried it out on a fresh Debian testing and there are a couple of issues: First, the iipsrv.conf file is configured to use mod_fastcgi, whereas the dependency is for mod_fcgid, which is equally compatible, but has a different syntax. Secondly, the log file /var/log/iipsrv.log is not being created due to there not being write access for the iipsrv process which runs as user www-data. The way we solved this in our own package was to add a line to postinst to touch to create an empty file and chown this to www-data. Also, if you want to add Lighttpd support to the package, it seems to be quite straight-forward. We used the lighty-enable-mod in postinst, which works the same way as your a2enmod to enable it. The Lighttpd conf file can be just something like: # Lighttpd configuration of the iipsrv package. server.modules += ( "mod_fastcgi" ) fastcgi.server += ( "/iipsrv/iipsrv.fcgi" => (( "socket" => "/tmp/iipsrv-fastcgi.socket", "check-local" => "disable", "min-procs" => 1, "max-procs" => 1, "bin-path" => "/usr/lib/iipimage-server/iipsrv.fcgi", # IIPImage parameters: # See iipimage man page for details of # available parameters "bin-environment" => ( "LOGFILE" => "/var/log/iipsrv.log", "VERBOSITY" => "1", "JPEG_QUALITY" => "90", "MAX_IMAGE_CACHE_SIZE" => "10", "MAX_CVT" => "5000", "MEMCACHED_SERVERS" => "localhost" ) )) ) Cheers, Ruven -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

