Difference between revisions of "Conf/Mimetypes"

From AOLserver Wiki
Jump to navigation Jump to search
(Created page with '== ns_section "ns/mimetypes" == ; ".xls" : MIME type for xls extension ; default : MIME type for unknown extension …')
 
 
Line 1: Line 1:
 
== ns_section "ns/mimetypes" ==
 
== ns_section "ns/mimetypes" ==
 +
part of [[Conf|AOLServer Config Reference]]
 
      
 
      
; [[Conf/Parameters/".xls"|".xls"]]
+
AOLserver already has an exhaustive list of MIME types, but in case something is missing you can add it here.
:  MIME type for xls extension
 
  
 
+
ns_section "ns/mimetypes"
; [[Conf/Parameters/Default|default]]
+
    ns_param  ".xls"          "application/vnd.ms-excel"
: MIME type for unknown extension
+
    ns_param  default        "*/*"    ;# MIME type for unknown extension
 
+
    ns_param  noextension    "*/*"    ;# MIME type for missing extension
; [[Conf/Parameters/Noextension|noextension]]
 
: MIME type for missing extension
 

Latest revision as of 20:29, 21 December 2011

ns_section "ns/mimetypes"

part of AOLServer Config Reference

AOLserver already has an exhaustive list of MIME types, but in case something is missing you can add it here.

ns_section "ns/mimetypes"
   ns_param   ".xls"          "application/vnd.ms-excel"
   ns_param   default         "*/*"     ;# MIME type for unknown extension
   ns_param   noextension     "*/*"     ;# MIME type for missing extension