OK, try this then.

On 06/13/2012 06:17 PM, Mathieu Malaterre wrote:
> tags 675325 - patch
> thanks
> 
> 
> On Wed, Jun 13, 2012 at 4:40 PM, Ruven <ru...@users.sourceforge.net> wrote:
>>
>> Here's the iipsrv.conf mod_fcgid configuration file to use instead.
> 
> 
> This file is not a patch. It does not respect debian webapp policy either:
> 
> http://webapps-common.alioth.debian.org/draft/html/ch-httpd.html#s-httpd-location
9a10,12
> 
>    # Set the module handler
>    AddHandler fcgid-script .fcgi
12,13c15,26
< # Set the handler
< AddHandler fastcgi-script fcg fcgi fpl
---
> # Set our environment variables for the IIP server
> FcgidInitialEnv VERBOSITY "1"
> FcgidInitialEnv LOGFILE "/var/log/iipsrv.log"
> FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "10"
> FcgidInitialEnv JPEG_QUALITY "90"
> FcgidInitialEnv MAX_CVT "5000"
> FcgidInitialEnv MEMCACHED_SERVERS "localhost"
> 
> # Define the idle timeout as unlimited and the number of
> # processes we want
> FcgidIdleTimeout 0
> FcgidMaxClassProcessesPerClass 1
15,22d27
< # Initialise the FCGI server - set some default values
< FastCgiServer /usr/lib/iipimage-server/iipsrv.fcgi \
< -initial-env LOGFILE=/var/log/iipsrv.log \
< -initial-env VERBOSITY=1 \
< -initial-env JPEG_QUALITY=90 \
< -initial-env MAX_IMAGE_CACHE_SIZE=10 \
< -initial-env MAX_CVT=5000 \
< -initial-env MEMCACHED_SERVERS=localhost

Reply via email to