Project

General

Profile

o.conf

config out ./lighttpd -p -f lighttpd.conf - surjitsidhu, 2018-08-02 08:47

 
1
config {
2
    var.PID                        = 31268
3
    var.CWD                        = "/home/lighttpd-1.4.49-/lighttpd-1.4.49/doc/config"
4
    var.log_root                   = "/var/log/lighttpd"
5
    var.server_root                = "/srv/www"
6
    var.state_dir                  = "/var/run"
7
    var.home_dir                   = "/var/lib/lighttpd"
8
    var.conf_dir                   = "/etc/lighttpd"
9
    var.vhosts_dir                 = "/srv/www/vhosts"
10
    var.cache_dir                  = "/var/cache/lighttpd"
11
    var.socket_dir                 = "/var/lib/lighttpd/sockets"
12
    compress.filetype              = ("text/plain", "text/html", "text/css", "text/javascript")
13
    compress.cache-dir             = "/var/cache/lighttpd/compress"
14
    compress.allowed-encodings     = ("gzip", "deflate")
15
    server.errorlog                = "/var/log/lighttpd/error.log"
16
    server.port                    = 80
17
    server.use-ipv6                = "enable"
18
    server.bind                    = "192.168.95.102"
19
    server.username                = "www-data"
20
    server.groupname               = "www-data"
21
    server.document-root           = "/var/www/html"
22
    server.pid-file                = "/var/run/lighttpd.pid"
23
    server.modules                 = ("mod_access", "mod_rewrite", "mod_compress", "mod_expire", "mod_accesslog")
24
    accesslog.filename             = "/var/log/lighttpd/access.log"
25
    server.event-handler           = "linux-sysepoll"
26
    server.network-backend         = "sendfile"
27
    server.max-fds                 = 2048
28
    server.stat-cache-engine       = "simple"
29
    server.max-connections         = 1024
30
    index-file.names               = ("index.xhtml", "index1.html", "index.htm", "default.htm", "index.php")
31
    url.access-deny                = ("~", ".inc")
32
    static-file.exclude-extensions = (".php", ".pl", ".fcgi", ".scgi")
33
    mimetype.assign                = (
34
        ".pcf.Z"       => "application/x-font-pcf",
35
        ".tar.bz2"     => "application/x-gtar-compressed",
36
        ".tar.gz"      => "application/x-gtar-compressed",
37
        ".ez"          => "application/andrew-inset",
38
        ".anx"         => "application/annodex",
39
        # 5
40
        ".atom"        => "application/atom+xml",
41
        ".atomcat"     => "application/atomcat+xml",
42
        ".atomsrv"     => "application/atomserv+xml",
43
        ".lin"         => "application/bbolin",
44
        ".cu"          => "application/cu-seeme",
45
        # 10
46
        ".davmount"    => "application/davmount+xml",
47
        ".dcm"         => "application/dicom",
48
        ".tsp"         => "application/dsptype",
49
        ".es"          => "application/ecmascript",
50
        ".otf"         => "application/font-sfnt",
51
        # 15
52
        ".ttf"         => "application/font-sfnt",
53
        ".pfr"         => "application/font-tdpfr",
54
        ".woff"        => "application/font-woff",
55
        ".spl"         => "application/futuresplash",
56
        ".gz"          => "application/gzip",
57
        # 20
58
        ".hta"         => "application/hta",
59
        ".jar"         => "application/java-archive",
60
        ".ser"         => "application/java-serialized-object",
61
        ".class"       => "application/java-vm",
62
        ".js"          => "application/javascript",
63
        # 25
64
        ".json"        => "application/json",
65
        ".m3g"         => "application/m3g",
66
        ".hqx"         => "application/mac-binhex40",
67
        ".cpt"         => "application/mac-compactpro",
68
        ".nb"          => "application/mathematica",
69
        # 30
70
        ".nbp"         => "application/mathematica",
71
        ".mbox"        => "application/mbox",
72
        ".mdb"         => "application/msaccess",
73
        ".doc"         => "application/msword",
74
        ".dot"         => "application/msword",
75
        # 35
76
        ".mxf"         => "application/mxf",
77
        ".asn"         => "application/octet-stream",
78
        ".bin"         => "application/octet-stream",
79
        ".deploy"      => "application/octet-stream",
80
        ".ent"         => "application/octet-stream",
81
        # 40
82
        ".msp"         => "application/octet-stream",
83
        ".msu"         => "application/octet-stream",
84
        ".oda"         => "application/oda",
85
        ".opf"         => "application/oebps-package+xml",
86
        ".ogx"         => "application/ogg",
87
        # 45
88
        ".one"         => "application/onenote",
89
        ".onepkg"      => "application/onenote",
90
        ".onetmp"      => "application/onenote",
91
        ".onetoc2"     => "application/onenote",
92
        ".pdf"         => "application/pdf",
93
        # 50
94
        ".pgp"         => "application/pgp-encrypted",
95
        ".key"         => "application/pgp-keys",
96
        ".sig"         => "application/pgp-signature",
97
        ".prf"         => "application/pics-rules",
98
        ".ai"          => "application/postscript",
99
        # 55
100
        ".eps"         => "application/postscript",
101
        ".eps2"        => "application/postscript",
102
        ".eps3"        => "application/postscript",
103
        ".epsf"        => "application/postscript",
104
        ".epsi"        => "application/postscript",
105
        # 60
106
        ".ps"          => "application/postscript",
107
        ".rar"         => "application/rar",
108
        ".rdf"         => "application/rdf+xml",
109
        ".rtf"         => "application/rtf",
110
        ".stl"         => "application/sla",
111
        # 65
112
        ".smi"         => "application/smil+xml",
113
        ".smil"        => "application/smil+xml",
114
        ".xht"         => "application/xhtml+xml",
115
        ".xhtml"       => "application/xhtml+xml",
116
        ".xml"         => "application/xml",
117
        # 70
118
        ".xsd"         => "application/xml",
119
        ".dtd"         => "application/xml-dtd",
120
        ".xsl"         => "application/xslt+xml",
121
        ".xslt"        => "application/xslt+xml",
122
        ".xspf"        => "application/xspf+xml",
123
        # 75
124
        ".zip"         => "application/zip",
125
        ".apk"         => "application/vnd.android.package-archive",
126
        ".cdy"         => "application/vnd.cinderella",
127
        ".ddeb"        => "application/vnd.debian.binary-package",
128
        ".deb"         => "application/vnd.debian.binary-package",
129
        # 80
130
        ".udeb"        => "application/vnd.debian.binary-package",
131
        ".sfd"         => "application/vnd.font-fontforge-sfd",
132
        ".kml"         => "application/vnd.google-earth.kml+xml",
133
        ".kmz"         => "application/vnd.google-earth.kmz",
134
        ".xul"         => "application/vnd.mozilla.xul+xml",
135
        # 85
136
        ".xlb"         => "application/vnd.ms-excel",
137
        ".xls"         => "application/vnd.ms-excel",
138
        ".xlt"         => "application/vnd.ms-excel",
139
        ".xlam"        => "application/vnd.ms-excel.addin.macroEnabled.12",
140
        ".xlsb"        => "application/vnd.ms-excel.sheet.binary.macroEnabled.12",
141
        # 90
142
        ".xlsm"        => "application/vnd.ms-excel.sheet.macroEnabled.12",
143
        ".xltm"        => "application/vnd.ms-excel.template.macroEnabled.12",
144
        ".eot"         => "application/vnd.ms-fontobject",
145
        ".thmx"        => "application/vnd.ms-officetheme",
146
        ".cat"         => "application/vnd.ms-pki.seccat",
147
        # 95
148
        ".pps"         => "application/vnd.ms-powerpoint",
149
        ".ppt"         => "application/vnd.ms-powerpoint",
150
        ".ppam"        => "application/vnd.ms-powerpoint.addin.macroEnabled.12",
151
        ".pptm"        => "application/vnd.ms-powerpoint.presentation.macroEnabled.12",
152
        ".sldm"        => "application/vnd.ms-powerpoint.slide.macroEnabled.12",
153
        # 100
154
        ".ppsm"        => "application/vnd.ms-powerpoint.slideshow.macroEnabled.12",
155
        ".potm"        => "application/vnd.ms-powerpoint.template.macroEnabled.12",
156
        ".docm"        => "application/vnd.ms-word.document.macroEnabled.12",
157
        ".dotm"        => "application/vnd.ms-word.template.macroEnabled.12",
158
        ".odc"         => "application/vnd.oasis.opendocument.chart",
159
        # 105
160
        ".odb"         => "application/vnd.oasis.opendocument.database",
161
        ".odf"         => "application/vnd.oasis.opendocument.formula",
162
        ".odg"         => "application/vnd.oasis.opendocument.graphics",
163
        ".otg"         => "application/vnd.oasis.opendocument.graphics-template",
164
        ".odi"         => "application/vnd.oasis.opendocument.image",
165
        # 110
166
        ".odp"         => "application/vnd.oasis.opendocument.presentation",
167
        ".otp"         => "application/vnd.oasis.opendocument.presentation-template",
168
        ".ods"         => "application/vnd.oasis.opendocument.spreadsheet",
169
        ".ots"         => "application/vnd.oasis.opendocument.spreadsheet-template",
170
        ".odt"         => "application/vnd.oasis.opendocument.text",
171
        # 115
172
        ".odm"         => "application/vnd.oasis.opendocument.text-master",
173
        ".ott"         => "application/vnd.oasis.opendocument.text-template",
174
        ".oth"         => "application/vnd.oasis.opendocument.text-web",
175
        ".pptx"        => "application/vnd.openxmlformats-officedocument.presentationml.presentation",
176
        ".sldx"        => "application/vnd.openxmlformats-officedocument.presentationml.slide",
177
        # 120
178
        ".ppsx"        => "application/vnd.openxmlformats-officedocument.presentationml.slideshow",
179
        ".potx"        => "application/vnd.openxmlformats-officedocument.presentationml.template",
180
        ".xlsx"        => "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
181
        ".xltx"        => "application/vnd.openxmlformats-officedocument.spreadsheetml.template",
182
        ".docx"        => "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
183
        # 125
184
        ".dotx"        => "application/vnd.openxmlformats-officedocument.wordprocessingml.template",
185
        ".cod"         => "application/vnd.rim.cod",
186
        ".mmf"         => "application/vnd.smaf",
187
        ".sdc"         => "application/vnd.stardivision.calc",
188
        ".sds"         => "application/vnd.stardivision.chart",
189
        # 130
190
        ".sda"         => "application/vnd.stardivision.draw",
191
        ".sdd"         => "application/vnd.stardivision.impress",
192
        ".sdf"         => "application/vnd.stardivision.math",
193
        ".sdw"         => "application/vnd.stardivision.writer",
194
        ".sgl"         => "application/vnd.stardivision.writer-global",
195
        # 135
196
        ".sxc"         => "application/vnd.sun.xml.calc",
197
        ".stc"         => "application/vnd.sun.xml.calc.template",
198
        ".sxd"         => "application/vnd.sun.xml.draw",
199
        ".std"         => "application/vnd.sun.xml.draw.template",
200
        ".sxi"         => "application/vnd.sun.xml.impress",
201
        # 140
202
        ".sti"         => "application/vnd.sun.xml.impress.template",
203
        ".sxm"         => "application/vnd.sun.xml.math",
204
        ".sxw"         => "application/vnd.sun.xml.writer",
205
        ".sxg"         => "application/vnd.sun.xml.writer.global",
206
        ".stw"         => "application/vnd.sun.xml.writer.template",
207
        # 145
208
        ".sis"         => "application/vnd.symbian.install",
209
        ".cap"         => "application/vnd.tcpdump.pcap",
210
        ".pcap"        => "application/vnd.tcpdump.pcap",
211
        ".vsd"         => "application/vnd.visio",
212
        ".vss"         => "application/vnd.visio",
213
        # 150
214
        ".vst"         => "application/vnd.visio",
215
        ".vsw"         => "application/vnd.visio",
216
        ".wbxml"       => "application/vnd.wap.wbxml",
217
        ".wmlc"        => "application/vnd.wap.wmlc",
218
        ".wmlsc"       => "application/vnd.wap.wmlscriptc",
219
        # 155
220
        ".wpd"         => "application/vnd.wordperfect",
221
        ".wp5"         => "application/vnd.wordperfect5.1",
222
        ".wk"          => "application/x-123",
223
        ".7z"          => "application/x-7z-compressed",
224
        ".abw"         => "application/x-abiword",
225
        # 160
226
        ".dmg"         => "application/x-apple-diskimage",
227
        ".bcpio"       => "application/x-bcpio",
228
        ".torrent"     => "application/x-bittorrent",
229
        ".bz2"         => "application/x-bzip",
230
        ".cab"         => "application/x-cab",
231
        # 165
232
        ".cbr"         => "application/x-cbr",
233
        ".cbz"         => "application/x-cbz",
234
        ".cda"         => "application/x-cdf",
235
        ".cdf"         => "application/x-cdf",
236
        ".vcd"         => "application/x-cdlink",
237
        # 170
238
        ".pgn"         => "application/x-chess-pgn",
239
        ".mph"         => "application/x-comsol",
240
        ".cpio"        => "application/x-cpio",
241
        ".dcr"         => "application/x-director",
242
        ".dir"         => "application/x-director",
243
        # 175
244
        ".dxr"         => "application/x-director",
245
        ".dms"         => "application/x-dms",
246
        ".wad"         => "application/x-doom",
247
        ".dvi"         => "application/x-dvi",
248
        ".gsf"         => "application/x-font",
249
        # 180
250
        ".pfa"         => "application/x-font",
251
        ".pfb"         => "application/x-font",
252
        ".pcf"         => "application/x-font-pcf",
253
        ".mm"          => "application/x-freemind",
254
        ".gan"         => "application/x-ganttproject",
255
        # 185
256
        ".gnumeric"    => "application/x-gnumeric",
257
        ".sgf"         => "application/x-go-sgf",
258
        ".gcf"         => "application/x-graphing-calculator",
259
        ".gtar"        => "application/x-gtar",
260
        ".taz"         => "application/x-gtar-compressed",
261
        # 190
262
        ".tbz"         => "application/x-gtar-compressed",
263
        ".tgz"         => "application/x-gtar-compressed",
264
        ".hdf"         => "application/x-hdf",
265
        ".hwp"         => "application/x-hwp",
266
        ".ica"         => "application/x-ica",
267
        # 195
268
        ".info"        => "application/x-info",
269
        ".ins"         => "application/x-internet-signup",
270
        ".isp"         => "application/x-internet-signup",
271
        ".iii"         => "application/x-iphone",
272
        ".iso"         => "application/x-iso9660-image",
273
        # 200
274
        ".jam"         => "application/x-jam",
275
        ".jnlp"        => "application/x-java-jnlp-file",
276
        ".jmz"         => "application/x-jmol",
277
        ".chrt"        => "application/x-kchart",
278
        ".kil"         => "application/x-killustrator",
279
        # 205
280
        ".skd"         => "application/x-koan",
281
        ".skm"         => "application/x-koan",
282
        ".skp"         => "application/x-koan",
283
        ".skt"         => "application/x-koan",
284
        ".kpr"         => "application/x-kpresenter",
285
        # 210
286
        ".kpt"         => "application/x-kpresenter",
287
        ".ksp"         => "application/x-kspread",
288
        ".kwd"         => "application/x-kword",
289
        ".kwt"         => "application/x-kword",
290
        ".latex"       => "application/x-latex",
291
        # 215
292
        ".lha"         => "application/x-lha",
293
        ".lyx"         => "application/x-lyx",
294
        ".lzh"         => "application/x-lzh",
295
        ".lzx"         => "application/x-lzx",
296
        ".book"        => "application/x-maker",
297
        # 220
298
        ".fb"          => "application/x-maker",
299
        ".fbdoc"       => "application/x-maker",
300
        ".fm"          => "application/x-maker",
301
        ".frame"       => "application/x-maker",
302
        ".frm"         => "application/x-maker",
303
        # 225
304
        ".maker"       => "application/x-maker",
305
        ".mif"         => "application/x-mif",
306
        ".m3u8"        => "application/x-mpegURL",
307
        ".application" => "application/x-ms-application",
308
        ".manifest"    => "application/x-ms-manifest",
309
        # 230
310
        ".wmd"         => "application/x-ms-wmd",
311
        ".wmz"         => "application/x-ms-wmz",
312
        ".bat"         => "application/x-msdos-program",
313
        ".com"         => "application/x-msdos-program",
314
        ".dll"         => "application/x-msdos-program",
315
        # 235
316
        ".exe"         => "application/x-msdos-program",
317
        ".msi"         => "application/x-msi",
318
        ".nc"          => "application/x-netcdf",
319
        ".pac"         => "application/x-ns-proxy-autoconfig",
320
        ".nwc"         => "application/x-nwc",
321
        # 240
322
        ".o"           => "application/x-object",
323
        ".oza"         => "application/x-oz-application",
324
        ".p7r"         => "application/x-pkcs7-certreqresp",
325
        ".crl"         => "application/x-pkcs7-crl",
326
        ".pyc"         => "application/x-python-code",
327
        # 245
328
        ".pyo"         => "application/x-python-code",
329
        ".qgs"         => "application/x-qgis",
330
        ".shp"         => "application/x-qgis",
331
        ".shx"         => "application/x-qgis",
332
        ".qtl"         => "application/x-quicktimeplayer",
333
        # 250
334
        ".rdp"         => "application/x-rdp",
335
        ".rpm"         => "application/x-redhat-package-manager",
336
        ".rss"         => "application/x-rss+xml",
337
        ".rb"          => "application/x-ruby",
338
        ".sce"         => "application/x-scilab",
339
        # 255
340
        ".sci"         => "application/x-scilab",
341
        ".xcos"        => "application/x-scilab-xcos",
342
        ".shar"        => "application/x-shar",
343
        ".swf"         => "application/x-shockwave-flash",
344
        ".swfl"        => "application/x-shockwave-flash",
345
        # 260
346
        ".scr"         => "application/x-silverlight",
347
        ".sql"         => "application/x-sql",
348
        ".sit"         => "application/x-stuffit",
349
        ".sitx"        => "application/x-stuffit",
350
        ".sv4cpio"     => "application/x-sv4cpio",
351
        # 265
352
        ".sv4crc"      => "application/x-sv4crc",
353
        ".tar"         => "application/x-tar",
354
        ".gf"          => "application/x-tex-gf",
355
        ".pk"          => "application/x-tex-pk",
356
        ".texi"        => "application/x-texinfo",
357
        # 270
358
        ".texinfo"     => "application/x-texinfo",
359
        ".roff"        => "application/x-troff",
360
        ".t"           => "application/x-troff",
361
        ".tr"          => "application/x-troff",
362
        ".man"         => "application/x-troff-man",
363
        # 275
364
        ".me"          => "application/x-troff-me",
365
        ".ms"          => "application/x-troff-ms",
366
        ".ustar"       => "application/x-ustar",
367
        ".src"         => "application/x-wais-source",
368
        ".wz"          => "application/x-wingz",
369
        # 280
370
        ".crt"         => "application/x-x509-ca-cert",
371
        ".xcf"         => "application/x-xcf",
372
        ".fig"         => "application/x-xfig",
373
        ".xpi"         => "application/x-xpinstall",
374
        ".xz"          => "application/x-xz",
375
        # 285
376
        ".amr"         => "audio/amr",
377
        ".awb"         => "audio/amr-wb",
378
        ".axa"         => "audio/annodex",
379
        ".au"          => "audio/basic",
380
        ".snd"         => "audio/basic",
381
        # 290
382
        ".csd"         => "audio/csound",
383
        ".orc"         => "audio/csound",
384
        ".sco"         => "audio/csound",
385
        ".flac"        => "audio/flac",
386
        ".kar"         => "audio/midi",
387
        # 295
388
        ".mid"         => "audio/midi",
389
        ".midi"        => "audio/midi",
390
        ".m4a"         => "audio/mpeg",
391
        ".mp2"         => "audio/mpeg",
392
        ".mp3"         => "audio/mpeg",
393
        # 300
394
        ".mpega"       => "audio/mpeg",
395
        ".mpga"        => "audio/mpeg",
396
        ".m3u"         => "audio/mpegurl",
397
        ".oga"         => "audio/ogg",
398
        ".ogg"         => "audio/ogg",
399
        # 305
400
        ".opus"        => "audio/ogg",
401
        ".spx"         => "audio/ogg",
402
        ".sid"         => "audio/prs.sid",
403
        ".aif"         => "audio/x-aiff",
404
        ".aifc"        => "audio/x-aiff",
405
        # 310
406
        ".aiff"        => "audio/x-aiff",
407
        ".gsm"         => "audio/x-gsm",
408
        ".wax"         => "audio/x-ms-wax",
409
        ".wma"         => "audio/x-ms-wma",
410
        ".ra"          => "audio/x-realaudio",
411
        # 315
412
        ".ram"         => "audio/x-realaudio",
413
        ".rm"          => "audio/x-realaudio",
414
        ".pls"         => "audio/x-scpls",
415
        ".sd2"         => "audio/x-sd2",
416
        ".wav"         => "audio/x-wav",
417
        # 320
418
        ".alc"         => "chemical/x-alchemy",
419
        ".cac"         => "chemical/x-cache",
420
        ".cache"       => "chemical/x-cache",
421
        ".csf"         => "chemical/x-cache-csf",
422
        ".cascii"      => "chemical/x-cactvs-binary",
423
        # 325
424
        ".cbin"        => "chemical/x-cactvs-binary",
425
        ".ctab"        => "chemical/x-cactvs-binary",
426
        ".cdx"         => "chemical/x-cdx",
427
        ".cer"         => "chemical/x-cerius",
428
        ".c3d"         => "chemical/x-chem3d",
429
        # 330
430
        ".chm"         => "chemical/x-chemdraw",
431
        ".cif"         => "chemical/x-cif",
432
        ".cmdf"        => "chemical/x-cmdf",
433
        ".cml"         => "chemical/x-cml",
434
        ".cpa"         => "chemical/x-compass",
435
        # 335
436
        ".bsd"         => "chemical/x-crossfire",
437
        ".csm"         => "chemical/x-csml",
438
        ".csml"        => "chemical/x-csml",
439
        ".ctx"         => "chemical/x-ctx",
440
        ".cef"         => "chemical/x-cxf",
441
        # 340
442
        ".cxf"         => "chemical/x-cxf",
443
        ".emb"         => "chemical/x-embl-dl-nucleotide",
444
        ".embl"        => "chemical/x-embl-dl-nucleotide",
445
        ".spc"         => "chemical/x-galactic-spc",
446
        ".gam"         => "chemical/x-gamess-input",
447
        # 345
448
        ".gamin"       => "chemical/x-gamess-input",
449
        ".inp"         => "chemical/x-gamess-input",
450
        ".fch"         => "chemical/x-gaussian-checkpoint",
451
        ".fchk"        => "chemical/x-gaussian-checkpoint",
452
        ".cub"         => "chemical/x-gaussian-cube",
453
        # 350
454
        ".gau"         => "chemical/x-gaussian-input",
455
        ".gjc"         => "chemical/x-gaussian-input",
456
        ".gjf"         => "chemical/x-gaussian-input",
457
        ".gal"         => "chemical/x-gaussian-log",
458
        ".gcg"         => "chemical/x-gcg8-sequence",
459
        # 355
460
        ".gen"         => "chemical/x-genbank",
461
        ".hin"         => "chemical/x-hin",
462
        ".ist"         => "chemical/x-isostar",
463
        ".istr"        => "chemical/x-isostar",
464
        ".dx"          => "chemical/x-jcamp-dx",
465
        # 360
466
        ".jdx"         => "chemical/x-jcamp-dx",
467
        ".kin"         => "chemical/x-kinemage",
468
        ".mcm"         => "chemical/x-macmolecule",
469
        ".mmd"         => "chemical/x-macromodel-input",
470
        ".mmod"        => "chemical/x-macromodel-input",
471
        # 365
472
        ".mol"         => "chemical/x-mdl-molfile",
473
        ".rd"          => "chemical/x-mdl-rdfile",
474
        ".rxn"         => "chemical/x-mdl-rxnfile",
475
        ".sd"          => "chemical/x-mdl-sdfile",
476
        ".tgf"         => "chemical/x-mdl-tgf",
477
        # 370
478
        ".mcif"        => "chemical/x-mmcif",
479
        ".mol2"        => "chemical/x-mol2",
480
        ".b"           => "chemical/x-molconn-Z",
481
        ".gpt"         => "chemical/x-mopac-graph",
482
        ".mop"         => "chemical/x-mopac-input",
483
        # 375
484
        ".mopcrt"      => "chemical/x-mopac-input",
485
        ".mpc"         => "chemical/x-mopac-input",
486
        ".zmt"         => "chemical/x-mopac-input",
487
        ".moo"         => "chemical/x-mopac-out",
488
        ".mvb"         => "chemical/x-mopac-vib",
489
        # 380
490
        ".prt"         => "chemical/x-ncbi-asn1-ascii",
491
        ".aso"         => "chemical/x-ncbi-asn1-binary",
492
        ".val"         => "chemical/x-ncbi-asn1-binary",
493
        ".pdb"         => "chemical/x-pdb",
494
        ".ros"         => "chemical/x-rosdal",
495
        # 385
496
        ".sw"          => "chemical/x-swissprot",
497
        ".vms"         => "chemical/x-vamas-iso14976",
498
        ".vmd"         => "chemical/x-vmd",
499
        ".xtel"        => "chemical/x-xtel",
500
        ".xyz"         => "chemical/x-xyz",
501
        # 390
502
        ".gif"         => "image/gif",
503
        ".ief"         => "image/ief",
504
        ".jp2"         => "image/jp2",
505
        ".jpg2"        => "image/jp2",
506
        ".jpe"         => "image/jpeg",
507
        # 395
508
        ".jpeg"        => "image/jpeg",
509
        ".jpg"         => "image/jpeg",
510
        ".jpm"         => "image/jpm",
511
        ".jpf"         => "image/jpx",
512
        ".jpx"         => "image/jpx",
513
        # 400
514
        ".pcx"         => "image/pcx",
515
        ".png"         => "image/png",
516
        ".svg"         => "image/svg+xml",
517
        ".svgz"        => "image/svg+xml",
518
        ".tif"         => "image/tiff",
519
        # 405
520
        ".tiff"        => "image/tiff",
521
        ".djv"         => "image/vnd.djvu",
522
        ".djvu"        => "image/vnd.djvu",
523
        ".ico"         => "image/vnd.microsoft.icon",
524
        ".wbmp"        => "image/vnd.wap.wbmp",
525
        # 410
526
        ".cr2"         => "image/x-canon-cr2",
527
        ".crw"         => "image/x-canon-crw",
528
        ".ras"         => "image/x-cmu-raster",
529
        ".cdr"         => "image/x-coreldraw",
530
        ".pat"         => "image/x-coreldrawpattern",
531
        # 415
532
        ".cdt"         => "image/x-coreldrawtemplate",
533
        ".erf"         => "image/x-epson-erf",
534
        ".art"         => "image/x-jg",
535
        ".jng"         => "image/x-jng",
536
        ".bmp"         => "image/x-ms-bmp",
537
        # 420
538
        ".nef"         => "image/x-nikon-nef",
539
        ".orf"         => "image/x-olympus-orf",
540
        ".psd"         => "image/x-photoshop",
541
        ".pnm"         => "image/x-portable-anymap",
542
        ".pbm"         => "image/x-portable-bitmap",
543
        # 425
544
        ".pgm"         => "image/x-portable-graymap",
545
        ".ppm"         => "image/x-portable-pixmap",
546
        ".rgb"         => "image/x-rgb",
547
        ".xbm"         => "image/x-xbitmap",
548
        ".xpm"         => "image/x-xpixmap",
549
        # 430
550
        ".xwd"         => "image/x-xwindowdump",
551
        ".eml"         => "message/rfc822",
552
        ".iges"        => "model/iges",
553
        ".igs"         => "model/iges",
554
        ".mesh"        => "model/mesh",
555
        # 435
556
        ".msh"         => "model/mesh",
557
        ".silo"        => "model/mesh",
558
        ".vrml"        => "model/vrml",
559
        ".wrl"         => "model/vrml",
560
        ".x3db"        => "model/x3d+binary",
561
        # 440
562
        ".x3dv"        => "model/x3d+vrml",
563
        ".x3d"         => "model/x3d+xml",
564
        ".appcache"    => "text/cache-manifest",
565
        ".ics"         => "text/calendar",
566
        ".icz"         => "text/calendar",
567
        # 445
568
        ".css"         => "text/css; charset=utf-8",
569
        ".csv"         => "text/csv; charset=utf-8",
570
        ".323"         => "text/h323",
571
        ".htm"         => "text/html",
572
        ".html"        => "text/html",
573
        # 450
574
        ".shtml"       => "text/html",
575
        ".uls"         => "text/iuls",
576
        ".markdown"    => "text/markdown; charset=utf-8",
577
        ".md"          => "text/markdown; charset=utf-8",
578
        ".mml"         => "text/mathml",
579
        # 455
580
        ".asc"         => "text/plain; charset=utf-8",
581
        ".brf"         => "text/plain; charset=utf-8",
582
        ".conf"        => "text/plain; charset=utf-8",
583
        ".log"         => "text/plain; charset=utf-8",
584
        ".pot"         => "text/plain; charset=utf-8",
585
        # 460
586
        ".spec"        => "text/plain; charset=utf-8",
587
        ".srt"         => "text/plain; charset=utf-8",
588
        ".text"        => "text/plain; charset=utf-8",
589
        ".txt"         => "text/plain; charset=utf-8",
590
        ".rtx"         => "text/richtext",
591
        # 465
592
        ".sct"         => "text/scriptlet",
593
        ".wsc"         => "text/scriptlet",
594
        ".tsv"         => "text/tab-separated-values",
595
        ".tm"          => "text/texmacs",
596
        ".ttl"         => "text/turtle",
597
        # 470
598
        ".vcard"       => "text/vcard",
599
        ".vcf"         => "text/vcard",
600
        ".jad"         => "text/vnd.sun.j2me.app-descriptor",
601
        ".wml"         => "text/vnd.wap.wml",
602
        ".wmls"        => "text/vnd.wap.wmlscript",
603
        # 475
604
        ".bib"         => "text/x-bibtex; charset=utf-8",
605
        ".boo"         => "text/x-boo; charset=utf-8",
606
        ".h++"         => "text/x-c++hdr; charset=utf-8",
607
        ".hh"          => "text/x-c++hdr; charset=utf-8",
608
        ".hpp"         => "text/x-c++hdr; charset=utf-8",
609
        # 480
610
        ".hxx"         => "text/x-c++hdr; charset=utf-8",
611
        ".c++"         => "text/x-c++src; charset=utf-8",
612
        ".cc"          => "text/x-c++src; charset=utf-8",
613
        ".cpp"         => "text/x-c++src; charset=utf-8",
614
        ".cxx"         => "text/x-c++src; charset=utf-8",
615
        # 485
616
        ".h"           => "text/x-chdr; charset=utf-8",
617
        ".htc"         => "text/x-component",
618
        ".csh"         => "text/x-csh; charset=utf-8",
619
        ".c"           => "text/x-csrc; charset=utf-8",
620
        ".diff"        => "text/x-diff; charset=utf-8",
621
        # 490
622
        ".patch"       => "text/x-diff; charset=utf-8",
623
        ".d"           => "text/x-dsrc; charset=utf-8",
624
        ".hs"          => "text/x-haskell; charset=utf-8",
625
        ".java"        => "text/x-java; charset=utf-8",
626
        ".ly"          => "text/x-lilypond; charset=utf-8",
627
        # 495
628
        ".lhs"         => "text/x-literate-haskell; charset=utf-8",
629
        ".moc"         => "text/x-moc; charset=utf-8",
630
        ".p"           => "text/x-pascal; charset=utf-8",
631
        ".pas"         => "text/x-pascal; charset=utf-8",
632
        ".gcd"         => "text/x-pcs-gcd",
633
        # 500
634
        ".pl"          => "text/x-perl; charset=utf-8",
635
        ".pm"          => "text/x-perl; charset=utf-8",
636
        ".py"          => "text/x-python; charset=utf-8",
637
        ".scala"       => "text/x-scala; charset=utf-8",
638
        ".etx"         => "text/x-setext",
639
        # 505
640
        ".sfv"         => "text/x-sfv",
641
        ".sh"          => "text/x-sh; charset=utf-8",
642
        ".tcl"         => "text/x-tcl; charset=utf-8",
643
        ".tk"          => "text/x-tcl; charset=utf-8",
644
        ".cls"         => "text/x-tex; charset=utf-8",
645
        # 510
646
        ".ltx"         => "text/x-tex; charset=utf-8",
647
        ".sty"         => "text/x-tex; charset=utf-8",
648
        ".tex"         => "text/x-tex; charset=utf-8",
649
        ".vcs"         => "text/x-vcalendar",
650
        ".3gp"         => "video/3gpp",
651
        # 515
652
        ".ts"          => "video/MP2T",
653
        ".axv"         => "video/annodex",
654
        ".dl"          => "video/dl",
655
        ".dif"         => "video/dv",
656
        ".dv"          => "video/dv",
657
        # 520
658
        ".fli"         => "video/fli",
659
        ".gl"          => "video/gl",
660
        ".mp4"         => "video/mp4",
661
        ".mpe"         => "video/mpeg",
662
        ".mpeg"        => "video/mpeg",
663
        # 525
664
        ".mpg"         => "video/mpeg",
665
        ".ogv"         => "video/ogg",
666
        ".mov"         => "video/quicktime",
667
        ".qt"          => "video/quicktime",
668
        ".webm"        => "video/webm",
669
        # 530
670
        ".mxu"         => "video/vnd.mpegurl",
671
        ".flv"         => "video/x-flv",
672
        ".lsf"         => "video/x-la-asf",
673
        ".lsx"         => "video/x-la-asf",
674
        ".mkv"         => "video/x-matroska",
675
        # 535
676
        ".mpv"         => "video/x-matroska",
677
        ".mng"         => "video/x-mng",
678
        ".asf"         => "video/x-ms-asf",
679
        ".asx"         => "video/x-ms-asf",
680
        ".wm"          => "video/x-ms-wm",
681
        # 540
682
        ".wmv"         => "video/x-ms-wmv",
683
        ".wmx"         => "video/x-ms-wmx",
684
        ".wvx"         => "video/x-ms-wvx",
685
        ".avi"         => "video/x-msvideo",
686
        ".movie"       => "video/x-sgi-movie",
687
        # 545
688
        ".ice"         => "x-conference/x-cooltalk",
689
        ".sisx"        => "x-epoc/x-sisx-app",
690
        ".vrm"         => "x-world/x-vrml",
691
        "README"       => "text/plain; charset=utf-8",
692
        "Makefile"     => "text/x-makefile; charset=utf-8",
693
        # 550
694
        ""             => "application/octet-stream",
695
        # 551
696
    )
697
    dir-listing.activate           = "disable"
698
    dir-listing.hide-dotfiles      = "disable"
699
    dir-listing.exclude            = ("~$")
700
    dir-listing.encoding           = "UTF-8"
701
    dir-listing.hide-header-file   = "disable"
702
    dir-listing.show-header        = "disable"
703
    dir-listing.hide-readme-file   = "disable"
704
    dir-listing.show-readme        = "disable"
705
    server.follow-symlink          = "enable"
706
    server.upload-dirs             = ("/var/tmp")
707

    
708

    
709
    $HTTP["url"] =~ "\.pdf$" {
710
        # block 1
711
        server.range-requests = "disable"
712

    
713
    } # end of $HTTP["url"] =~ "\.pdf$"
714
}