Project

General

Profile

Bug #1263 » lighttpd.conf.test

test configuration - jtate, 2007-07-17 17:10

 
1
server.modules = ( "mod_access",
2
                   "mod_alias",
3
                   "mod_scgi",
4
                   "mod_accesslog",
5
                   "mod_redirect",
6
                   "mod_staticfile" )
7

    
8
server.port             = 8004
9

    
10
#Assume this never uses a trailing slash
11
server.document-root    = "/home/jtate/mercurial/raa-2.1"
12
var.logbase             = server.document-root
13

    
14
#Note that this is required if you wish to run multiple lighttpd processes
15
server.pid-file         = "raa-lighttpd.pid"
16
server.errorlog         = var.logbase + "/lighttpd.error.log"
17
accesslog.filename      = var.logbase + "/lighttpd.access.log"
18

    
19
server.username         = "jtate"
20
server.groupname        = "jtate"
21

    
22
server.errorfile-prefix = server.document-root + "/html/"
23

    
24

    
25
mimetype.assign         = ( ".js"   => "text/javascript",
26
                            ".css"  => "text/css",
27
                            ".png"  => "image/png",
28
                            ".jpg"  => "image/jpeg",
29
                            ".gif"  => "image/gif",
30
                            ".ico"  => "image/x-icon"
31
                          )
32

    
33
$SERVER["socket"] == ":8004" {
34
}
35

    
36
scgi.server = (
37
                    "/" =>
38
                      ( "127.0.0.1" =>
39
                        (
40
                          "host" => "127.0.0.1",
41
                          "port" => 4000,
42
                          "disable-time" => 2,
43
                          "check-local" => "disable"
44
                        )
45
                      )
46
              )
(3-3/3)