summaryrefslogtreecommitdiff
path: root/mason/share/lighttpd.conf
blob: 2e9f6350fe2275b0b9b5a36ce8b1dcc164e5476e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
server.document-root = "/var/www/" 

server.port = 80

server.username = "www" 
server.groupname = "www" 

mimetype.assign = (
    ".html" => "text/html", 
    ".txt" => "text/plain",
    ".log" => "text/plain",
    ".jpg" => "image/jpeg",
    ".png" => "image/png" 
)

static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" )
index-file.names = ( "index.html" )

$HTTP["url"] =~ "^/logs/" {
    dir-listing.activate = "enable"
}