Guest User

Untitled

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