Guest User

Untitled

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