aboutsummaryrefslogtreecommitdiffstats
path: root/config/lighttpd_md.conf
blob: 6c999223ea13ac80c3e6702e070b71db0aa236b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
server.modules = (
        "mod_access",
        "mod_accesslog",
        "mod_alias",
        #"mod_compress",
        "mod_cgi",
        "mod_fastcgi",
        "mod_redirect",
        "mod_rewrite",
        "mod_proxy",
		#"mod_vhost"
)


server.port		= 8080
server.username		= "xxx"
server.groupname	= "xxx"
server.document-root	= "/srv/http/md"
server.errorlog		= "/tmp/error_md.log"
dir-listing.activate	= "enable"
index-file.names	= ( "index.md" )
mimetype.assign		= (
				".md" => "text/html",
				".html" => "text/html",
				".txt" => "text/plain",
				".css" => "text/css",
				".js" => "application/x-javascript",
				".gif" => "image/gif",
				".png" => "image/png",
				"" => "application/octet-stream"
			)
cgi.assign = (".md" => "/home/fam/prog/python/mdsite/md.py")