home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / cgi-bin / mime.pm < prev    next >
Encoding:
Text File  |  2004-05-20  |  3.9 KB  |  217 lines

  1. # AWSTATS MIME DATABASE
  2. #-------------------------------------------------------
  3. # If you want to add MIME types,
  4. # you must add an entry in MimeFamily and may be MimeHashLib
  5. #-------------------------------------------------------
  6. # $Revision: 1.4 $ - $Author: joker $ - $Date: 2004/05/20 20:38:42 $
  7.  
  8.  
  9. #package AWSMIME;
  10.  
  11.  
  12. # MimeHashLib
  13. # List of mime's label ("mime id in lower case", "mime text")
  14. #---------------------------------------------------------------
  15. %MimeHashLib = (
  16. 'text','Text file',
  17. 'page','HTML or XML static page',
  18. 'script','Dynamic Html page or Script file',
  19. 'image','Image',
  20. 'document','Document',
  21. 'package','Package',
  22. 'archive','Archive',
  23. 'audio','Audio',
  24. 'video','Video',
  25. 'javascript','Javascript file',
  26. 'vbs','Visual Basic script',
  27. 'conf','Config file',
  28. 'css','Cascading Style Sheet file',
  29. 'xsl','Extensible Stylesheet Language file',
  30. 'runtime','HTML dynamic page or Binary runtime',
  31. 'library','Binary library',
  32. 'swf','Macromedia Flash Animation',
  33. 'dtd','Document Type Definition',
  34. 'csv','Comma Separated Value file'
  35. );
  36.  
  37. # MimeHashIcon
  38. # Each Mime ID is associated to a string that is the name of icon
  39. # file for this Mime type.
  40. #---------------------------------------------------------------------------
  41. %MimeHashIcon = (
  42. # Text file
  43. 'txt','text',
  44. # HTML Static page
  45. 'html','html',
  46. 'htm','html',
  47. 'hdml','html',
  48. 'wml','html',
  49. 'wmlp','html',
  50. 'xml','html',
  51. # HTML Dynamic pages or script
  52. 'asp','script',
  53. 'aspx','script', 
  54. 'asmx','script', 
  55. 'cfm','script',
  56. 'jsp','script',
  57. 'cgi','script',
  58. 'ksh','script',
  59. 'php','script',
  60. 'php3','script',
  61. 'php4','script',
  62. 'pl','script',
  63. 'py','script',
  64. 'sh','script',
  65. 'shtml','html',
  66. 'tcl','script',
  67. 'xsp','script',
  68. # Image
  69. 'gif','image',
  70. 'png','image',
  71. 'bmp','image',
  72. 'jpg','image',
  73. 'jpeg','image',
  74. # Document
  75. 'doc','doc',
  76. 'pdf','pdf',
  77. 'xls','other',
  78. 'ppt','other',
  79. 'pps','other',
  80. 'sxw','other',
  81. 'sxc','other',
  82. 'sxi','other',
  83. 'sxd','other',
  84. 'csv','other',
  85. 'xsl','html',
  86. # Package
  87. 'rpm','archive',
  88. 'deb','archive',
  89. 'msi','archive',
  90. # Archive
  91. '7z','archive',
  92. 'ace','archive',
  93. 'bz2','archive',
  94. 'gz','archive',
  95. 'rar','archive',
  96. 'tar','archive',
  97. 'tgz','archive',
  98. 'tbz2','archive',
  99. 'z','archive',
  100. 'zip','archive',
  101. # Audio
  102. 'mp3','audio',
  103. 'ogg','audio',
  104. 'rm','audio',
  105. 'wma','audio',
  106. 'wav','audio',
  107. # Video
  108. 'avi','video',
  109. 'divx','video',
  110. 'mp4','video',
  111. 'mpeg','video',
  112. 'mpg','video',
  113. 'swf','video',
  114. # Web scripts
  115. 'js','other',
  116. 'vbs','other',
  117. # Config
  118. 'cf','other',
  119. 'conf','other',
  120. 'css','other',
  121. 'ini','other',
  122. 'dtd','other',
  123. # Program
  124. 'exe','script',
  125. 'dll','script',
  126. );
  127.  
  128.  
  129. %MimeHashFamily=(
  130. # Text file
  131. 'txt','page',
  132. # HTML Static page
  133. 'html','page',
  134. 'htm','page',
  135. 'wml','page',
  136. 'wmlp','page',
  137. 'xml','page',
  138. # HTML Dynamic pages or script
  139. 'asp','script',
  140. 'aspx','script', 
  141. 'asmx','script', 
  142. 'cfm','script',
  143. 'jsp','script',
  144. 'cgi','script',
  145. 'ksh','script',
  146. 'php','script',
  147. 'php3','script',
  148. 'php4','script',
  149. 'pl','script',
  150. 'py','script',
  151. 'sh','script',
  152. 'shtml','script',
  153. 'tcl','script',
  154. 'xsp','script',
  155. # Image
  156. 'gif','image',
  157. 'png','image',
  158. 'bmp','image',
  159. 'jpg','image',
  160. 'jpeg','image',
  161. # Document
  162. 'doc','document',
  163. 'pdf','document',
  164. 'xls','document',
  165. 'ppt','document',
  166. 'pps','document',
  167. 'sxw','document',
  168. 'sxc','document',
  169. 'sxi','document',
  170. 'sxd','document',
  171. 'csv','csv',
  172. 'xsl','xsl',
  173. # Package
  174. 'rpm','package',
  175. 'deb','package',
  176. 'msi','package',
  177. # Archive
  178. '7z','archive',
  179. 'ace','archive',
  180. 'bz2','archive',
  181. 'gz','archive',
  182. 'rar','archive',
  183. 'tar','archive',
  184. 'tgz','archive',
  185. 'tbz2','archive',
  186. 'z','archive',
  187. 'zip','archive',
  188. # Audio
  189. 'mp3','audio',
  190. 'ogg','audio',
  191. 'rm','audio',
  192. 'wav','audio',
  193. 'wma','audio',
  194. # Video
  195. 'avi','video',
  196. 'divx','video',
  197. 'mp4','video',
  198. 'mpeg','video',
  199. 'mpg','video',
  200. 'swf','swf',
  201. # Web scripts
  202. 'js','javascript',
  203. 'vbs','vbs',
  204. # Config
  205. 'cf','conf',
  206. 'conf','conf',
  207. 'css','css',
  208. 'ini','conf',
  209. 'dtd','dtd',
  210. # Program
  211. 'exe','runtime',
  212. 'dll','library',
  213. );
  214.  
  215.  
  216. 1;
  217.