Project

General

Profile

Bug #2993 ยป lighttpd.test.conf

khumarahn, 2019-11-25 11:44

 
1
var.basedir  = "/var/www/localhost"
2
var.logdir   = "/var/log/lighttpd"
3
var.statedir = "/var/lib/lighttpd"
4

    
5
server.modules = (
6
    "mod_webdav"
7
)
8

    
9
include "mime-types.conf"
10

    
11
server.username      = "lighttpd"
12
server.groupname     = "lighttpd"
13

    
14
server.document-root = var.basedir + "/htdocs"
15
server.pid-file      = "/var/run/lighttpd.pid"
16

    
17
server.errorlog      = var.logdir  + "/error.log"
18

    
19

    
20
$HTTP["url"] =~ "^/a/" {
21
        dir-listing.activate = "disable"
22
}
23
$HTTP["url"] =~ "^/b/" {
24
        dir-listing.activate = "disable"
25
}
26
$HTTP["url"] =~ "^/c/" {
27
        dir-listing.activate = "disable"
28
}
29
$HTTP["url"] =~ "^/d/" {
30
        dir-listing.activate = "disable"
31
}
32
$HTTP["url"] =~ "^/e/" {
33
        dir-listing.activate = "disable"
34
}
35
$HTTP["url"] =~ "^/f/" {
36
        dir-listing.activate = "disable"
37
}
38
$HTTP["url"] =~ "^/g/" {
39
        dir-listing.activate = "disable"
40
}
41
$HTTP["url"] =~ "^/h/" {
42
        dir-listing.activate = "disable"
43
}
44

    
45

    
46
# vim: set ft=conf foldmethod=marker et :
    (1-1/1)