amemded cmd/http/httpd-mime.conf
This commit is contained in:
		| @ -1,12 +1,11 @@ | ||||
| ############################################### | ||||
| # this file defines various mime types that | ||||
| # can be @included in a mime block. | ||||
| # | ||||
| # file entries are inspected first. | ||||
| # then suffix entries are inspected. | ||||
| # 'other' comes the last. | ||||
| ############################################### | ||||
|  | ||||
| # use name to set the type for a particular file | ||||
| #name "/abc/x.jpg" = "specific mime type"; | ||||
|  | ||||
| suffix ".htm" = "text/html"; | ||||
| suffix ".html" = "text/html"; | ||||
| suffix ".txt" = "text/plain"; | ||||
| @ -17,8 +16,5 @@ suffix ".js" = "application/javascript"; | ||||
| suffix ".jpg" = "image/jpeg"; | ||||
| suffix ".png" = "image/png"; | ||||
|  | ||||
| # use file to set the type for a particular file | ||||
| #file "x.jpg" = "specific mime type"; | ||||
|  | ||||
| # other can override the built-in default. | ||||
| #other = "default mime type"; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user