diff --git a/qse/cmd/http/httpd-mime.conf b/qse/cmd/http/httpd-mime.conf index eec32a7f..557e5d98 100644 --- a/qse/cmd/http/httpd-mime.conf +++ b/qse/cmd/http/httpd-mime.conf @@ -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";