1
+ # lighttpd configuration file
2
+
3
+ # define the modules to load
4
+ server.modules = ()
5
+
6
+ # set the document root
7
+ server.document-root = "/development/projects/books-code/prowebapps-code/"
8
+
9
+ # set the index file names
10
+ index-file.names = (
11
+ "index.html",
12
+ "index.html"
13
+ )
14
+
15
+ # server port to bind to
16
+ server.port = 8080
17
+
18
+ # server name to bind to (remember use an ip of your machine so your mobile device can access via wifi)
19
+ server.bind = "10.1.1.3"
20
+
21
+ # mimetype mapping
22
+ mimetype.assign = (
23
+ ".pdf" => "application/pdf",
24
+ ".sig" => "application/pgp-signature",
25
+ ".gz" => "application/x-gzip",
26
+ ".mp3" => "audio/mpeg",
27
+ ".m3u" => "audio/x-mpegurl",
28
+ ".wma" => "audio/x-ms-wma",
29
+ ".wax" => "audio/x-ms-wax",
30
+ ".ogg" => "application/ogg",
31
+ ".gif" => "image/gif",
32
+ ".jar" => "application/x-java-archive",
33
+ ".jpg" => "image/jpeg",
34
+ ".jpeg" => "image/jpeg",
35
+ ".png" => "image/png",
36
+ ".xbm" => "image/x-xbitmap",
37
+ ".xpm" => "image/x-xpixmap",
38
+ ".xwd" => "image/x-xwindowdump",
39
+ ".css" => "text/css",
40
+ ".html" => "text/html",
41
+ ".htm" => "text/html",
42
+ ".js" => "text/javascript",
43
+ ".txt" => "text/plain",
44
+ ".dtd" => "text/xml",
45
+ ".xml" => "text/xml",
46
+ ".mpeg" => "video/mpeg",
47
+ ".mpg" => "video/mpeg",
48
+ ".mov" => "video/quicktime",
49
+ ".qt" => "video/quicktime",
50
+ ".avi" => "video/x-msvideo",
51
+ ".asf" => "video/x-ms-asf",
52
+ ".asx" => "video/x-ms-asf",
53
+ ".wmv" => "video/x-ms-wmv",
54
+ )
0 commit comments