-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.lighttpd.conf
48 lines (42 loc) · 1.53 KB
/
.lighttpd.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
42
43
44
45
46
47
fastcgi.server += ( "/fcgi-bin/iipsrv.fcgi" =>
(( "socket" => "/data/project/zoomviewer/iipsrv-fastcgi.socket",
"check-local" => "disable",
"min-procs" => 1,
"max-procs" => 1,
"bin-path" => "/data/project/zoomviewer/cgi-bin/iipsrv.fcgi",
"bin-environment" => (
"FILESYSTEM_PREFIX" => "/data/project/zoomviewer/public_html/",
"LOGFILE" => "/data/project/zoomviewer/iipsrv.log",
"TMPDIR" => "/data/project/zoomviewer/var/tmp",
"CORS" => "*",
"VERBOSITY" => "5",
"MAX_IMAGE_CACHE_SIZE" => "10",
"FILENAME_PATTERN" => "_pyr_",
"JPEG_QUALITY" => "50",
"MAX_CVT" => "3000"
)
))
)
#fastcgi.server += ( "/iipsrv.fcgi" =>
# (( "socket" => "/data/project/zoomviewer/iipsrv-fastcgi.socket",
# "check-local" => "disable",
# "min-procs" => 1,
# "max-procs" => 1,
# "bin-path" => "/data/project/zoomviewer/cgi-bin/iipsrv.fcgi",
# "bin-environment" => (
# "FILESYSTEM_PREFIX" => "/data/project/zoomviewer/public_html/",
# "LOGFILE" => "/data/project/zoomviewer/iipsrv.log",
# "TMPDIR" => "/data/project/zoomviewer/var/tmp",
# "CORS" => "*",
# "VERBOSITY" => "1"
# )
# ))
#)
server.modules +=("mod_auth","mod_status")
status.status-url = "/zoomviewer/server-status"
status.statistics-url = "/zoomviewer/server-statistics"
server.max-keep-alive-requests = 40
# deny access for baidu, Yahoo, yandex, tweetmemebot
$HTTP["useragent"] =~ "(Baiduspider|Yahoo! Slurp|yandex\.com/bots|TweetmemeBot)" {
url.access-deny = ( "" )
}