amemded cmd/http/httpd-mime.conf

This commit is contained in:
hyung-hwan 2019-11-02 05:23:14 +00:00
parent df8cff2451
commit caa11c5e0d

View File

@ -1,12 +1,11 @@
############################################### ###############################################
# this file defines various mime types that # this file defines various mime types that
# can be @included in a mime block. # 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 ".htm" = "text/html";
suffix ".html" = "text/html"; suffix ".html" = "text/html";
suffix ".txt" = "text/plain"; suffix ".txt" = "text/plain";
@ -17,8 +16,5 @@ suffix ".js" = "application/javascript";
suffix ".jpg" = "image/jpeg"; suffix ".jpg" = "image/jpeg";
suffix ".png" = "image/png"; 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 can override the built-in default.
#other = "default mime type"; #other = "default mime type";