summaryrefslogtreecommitdiff
path: root/target/device/valka/target_skeleton/etc/lighttpd.conf
blob: 14e28ed6fd16362e10feb53f3530f6b2123421d1 (plain)
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
server.document-root = "/valka/web"
server.port = 80
server.username = "valka"
server.groupname = "valka"

index-file.names = ( "index.php", "index.html" )
mimetype.assign = (
	".html"	=> "text/html",
	".txt"	=> "text/plain",
	".js"	=> "text/css",
	".jpg"	=> "image/jpeg",
	".png"	=> "image/png"
)

server.modules = (
	"mod_fastcgi",
	"mod_rewrite"
)

fastcgi.server = (
	".php" => ((
		"bin-path"	=> "/usr/bin/php-cgi",
		"socket"	=> "/tmp/php.socket"
	))
)