blob: e1ad514ab5b955c52b95bc6335f436313ad837ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Momi web for lighttpd configuration
server.modules += ( "mod_alias","mod_cgi" )
$SERVER["socket"] == ":8080" {
server.document-root = "/www/momiweb/"
accesslog.filename = ""
}
alias.url = ( "/cgi-bin" => "/www/cgi-bin" )
$HTTP["url"] =~ "^/cgi-bin" {
cgi.assign = ( ".cgi" => "/bin/sh")
}
setenv.set-response-header = (
"x-content-type-options" => "nosniff",
)
mimetype.assign += ( ".svg" => "image/svg+xml" )
|