-
Notifications
You must be signed in to change notification settings - Fork 6
/
fcgid.conf
41 lines (33 loc) · 1.06 KB
/
fcgid.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
36
37
38
39
40
41
<IfModule mod_fcgid.c>
FcgidConnectTimeout 20
# Create a directory for the iipsrv binary
ScriptAlias /fcgi-bin/ "/var/www/localhost/fcgi-bin/"
<IfModule mod_mime.c>
# Set the options on that directory
<Directory "/var/www/localhost/fcgi-bin/">
AllowOverride None
Options None
Order allow,deny
Allow from all
# Set the module handler
AddHandler fcgid-script .fcgi
</Directory>
# Set our environment variables for the IIP server
FcgidInitialEnv VERBOSITY "1"
FcgidInitialEnv LOGFILE "/tmp/iipsrv.log"
FcgidInitialEnv MAX_IMAGE_CACHE_SIZE "512"
FcgidInitialEnv JPEG_QUALITY "75"
FcgidInitialEnv MAX_CVT "5000"
#FcgidInitialEnv FILESYSTEM_PREFIX "/mnt/images/"
FcgidInitialEnv LD_LIBRARY_PATH "/usr/local/lib"
FcgidInitialEnv MAX_TILE_CACHE_SIZE "64"
FcgidInitialEnv CORS "*"
FcgidInitialEnv BFBRIDGE_CACHEDIR "/tmp/"
FcgidInitialEnv BFBRIDGE_CLASSPATH "/usr/lib/java"
FcgidInitialEnv BFBRIDGE_LOGLEVEL "WARN"
# Define the idle timeout as unlimited and the number of
# processes we want
FcgidIdleTimeout 0
FcgidMaxProcessesPerClass 16
</IfModule>
</IfModule>