-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathiip_httpd.conf
35 lines (29 loc) · 958 Bytes
/
iip_httpd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Create a directory for the iipsrv binary
ScriptAlias /fcgi-bin/ "/var/www/localhost/fcgi-bin/"
# Set the options on that directory
<Directory "/var/www/localhost/fcgi-bin/">
AllowOverride None
Options None
# Syntax for access is different in Apache 2.4 - uncomment appropriate version
# Apache 2.2
# Order allow,deny
# Allow from all
# Apache 2.4
Require all granted
</Directory>
# Set the module handler
AddHandler fastcgi-script fcg fcgi fpl
# Initialise some variables for the FCGI server
FastCgiServer /var/www/localhost/fcgi-bin/iipsrv.fcgi \
-initial-env LOGFILE=/tmp/iipsrv.log \
-initial-env VERBOSITY=2 \
-initial-env MAX_IMAGE_CACHE_SIZE=10 \
-initial-env FILENAME_PATTERN=_pyr_ \
-initial-env JPEG_QUALITY=50 \
-initial-env MAX_CVT=3000 \
-initial-env CORS=* \
-initial-env BFBRIDGE_CACHEDIR=/tmp/ \
-initial-env BFBRIDGE_CLASSPATH=/usr/lib/java \
-initial-env BFBRIDGE_LOGLEVEL=WARN \
-listen-queue-depth 2048 \
-processes 1