1 rizwank 1.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.20 $ - $Author: eldy $ - $Date: 2005/01/21 22:49:05 $
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 rizwank 1.1 '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 'jnlp', 'Java Web Start launch file',
36 );
37
38 # MimeHashIcon
39 # Each Mime ID is associated to a string that is the name of icon
40 # file for this Mime type.
41 #---------------------------------------------------------------------------
42 %MimeHashIcon = (
43 rizwank 1.1 # Text file
44 'txt','text',
45 # HTML Static page
46 'html','html',
47 'htm','html',
48 'hdml','html',
49 'wml','html',
50 'wmlp','html',
51 'xml','html',
52 # HTML Dynamic pages or script
53 'asp','script',
54 'aspx','script',
55 'asmx','script',
56 'cfm','script',
57 'jsp','script',
58 'cgi','script',
59 'ksh','script',
60 'php','script',
61 'php3','script',
62 'php4','script',
63 'pl','script',
64 rizwank 1.1 'py','script',
65 'sh','script',
66 'shtml','html',
67 'tcl','script',
68 'xsp','script',
69 # Image
70 'gif','image',
71 'png','image',
72 'bmp','image',
73 'jpg','image',
74 'jpeg','image',
75 # Document
76 'doc','doc',
77 'pdf','pdf',
78 'xls','other',
79 'ppt','other',
80 'pps','other',
81 'sxw','other',
82 'sxc','other',
83 'sxi','other',
84 'sxd','other',
85 rizwank 1.1 'csv','other',
86 'xsl','html',
87 # Package
88 'rpm',($LogType eq 'S'?'audio':'archive'),
89 'deb','archive',
90 'msi','archive',
91 # Archive
92 '7z','archive',
93 'ace','archive',
94 'bz2','archive',
95 'gz','archive',
96 'jar','archive',
97 'rar','archive',
98 'tar','archive',
99 'tgz','archive',
100 'tbz2','archive',
101 'z','archive',
102 'zip','archive',
103 # Audio
104 'mp3','audio',
105 'ogg','audio',
106 rizwank 1.1 'wma','audio',
107 'wav','audio',
108 # Video
109 'avi','video',
110 'divx','video',
111 'mp4','video',
112 'mpeg','video',
113 'mpg','video',
114 'rm','video',
115 'swf','video',
116 # Web scripts
117 'js','other',
118 'vbs','other',
119 # Config
120 'cf','other',
121 'conf','other',
122 'css','other',
123 'ini','other',
124 'dtd','other',
125 # Program
126 'exe','script',
127 rizwank 1.1 'dll','script',
128 'jnlp','jnlp',
129 );
130
131
132 %MimeHashFamily=(
133 # Text file
134 'txt','page',
135 # HTML Static page
136 'html','page',
137 'htm','page',
138 'wml','page',
139 'wmlp','page',
140 'xml','page',
141 # HTML Dynamic pages or script
142 'asp','script',
143 'aspx','script',
144 'asmx','script',
145 'cfm','script',
146 'jsp','script',
147 'cgi','script',
148 rizwank 1.1 'ksh','script',
149 'php','script',
150 'php3','script',
151 'php4','script',
152 'pl','script',
153 'py','script',
154 'sh','script',
155 'shtml','script',
156 'tcl','script',
157 'xsp','script',
158 # Image
159 'gif','image',
160 'png','image',
161 'bmp','image',
162 'jpg','image',
163 'jpeg','image',
164 # Document
165 'doc','document',
166 'pdf','document',
167 'xls','document',
168 'ppt','document',
169 rizwank 1.1 'pps','document',
170 'sxw','document',
171 'sxc','document',
172 'sxi','document',
173 'sxd','document',
174 'csv','csv',
175 'xsl','xsl',
176 # Package
177 'rpm',($LogType eq 'S'?'audio':'package'),
178 'deb','package',
179 'msi','package',
180 # Archive
181 '7z','archive',
182 'ace','archive',
183 'bz2','archive',
184 'gz','archive',
185 'jar','archive',
186 'rar','archive',
187 'tar','archive',
188 'tgz','archive',
189 'tbz2','archive',
190 rizwank 1.1 'z','archive',
191 'zip','archive',
192 # Audio
193 'mp3','audio',
194 'ogg','audio',
195 'wav','audio',
196 'wma','audio',
197 # Video
198 'avi','video',
199 'divx','video',
200 'mp4','video',
201 'mpeg','video',
202 'mpg','video',
203 'rm','video',
204 'swf','swf',
205 # Web scripts
206 'js','javascript',
207 'vbs','vbs',
208 # Config
209 'cf','conf',
210 'conf','conf',
211 rizwank 1.1 'css','css',
212 'ini','conf',
213 'dtd','dtd',
214 # Program
215 'exe','runtime',
216 'jnlp','jnlp',
217 'dll','library',
218 );
219
220
221 1;
|