[mod_authn_gssapi] 500 if fail to delegate creds (#2967)
[lighttpd.git] / tests / fastcgi-responder.conf
blob705c3cacfa203b9ad7ec1345dee53e47fd0cacc0
1 server.document-root         = env.SRCDIR + "/tmp/lighttpd/servers/www.example.org/pages/"
3 debug.log-request-header   = "enable"
4 debug.log-response-header  = "enable"
5 debug.log-request-handling = "enable"
7 ## bind to port (default: 80)
8 server.port                 = 2048
10 ## bind to localhost (default: all interfaces)
11 server.bind                = "localhost"
12 server.errorlog            = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.error.log"
13 server.breakagelog         = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.log"
14 server.name                = "www.example.org"
15 server.tag                 = "Apache 1.3.29"
17 server.modules = (
18         "mod_fastcgi",
19         "mod_accesslog",
22 server.indexfiles = (
23         "index.php",
24         "index.html",
27 accesslog.filename = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.access.log"
29 $HTTP["host"] == "auth.example.org" {
31 fastcgi.debug = 0
32 fastcgi.server = (
33         "/" => (
34                 "grisu-auth" => (
35                         "host" => "127.0.0.1",
36                         "port" => 20000,
37                         "bin-path" => env.SRCDIR + "/fcgi-auth",
38                         "mode" => "authorizer",
39                         "check-local" => "disable",
40                 ),
41                 "grisu-resp" => (
42                         "host" => "127.0.0.1",
43                         "port" => 10000,
44                         "bin-path" => env.SRCDIR + "/fcgi-responder",
45                         "check-local" => "disable",
46                         "max-procs" => 1,
47                 ),
48         ),
52 else {
54 fastcgi.debug = 0
55 fastcgi.server = (
56         ".fcgi" => (
57                 "grisu" => (
58                         "host" => "127.0.0.1",
59                         "port" => 10000,
60                         "bin-path" => env.SRCDIR + "/fcgi-responder",
61                         "check-local" => "disable",
62                         "max-procs" => 1,
63                         "min-procs" => 1,
64                 ),
65         ),
70 $HTTP["host"] == "zzz.example.org" {
71         server.name = "zzz.example.org"
74 $HTTP["host"] == "wsgi.example.org" {
75         fastcgi.server = (
76                 "/" => ( (
77                         "host" => "127.0.0.1", "port" => 10000,
78                         "fix-root-scriptname" => "enable",
79                         "check-local" => "disable",
80                         "bin-path" => env.SRCDIR + "/fcgi-responder",
81                         "max-procs" => 1,
82                 ) ),
83         )