extension
extension = MIME_type
Description
This stanza defines the MIME type for specific document extensions. The stanza contains a list of extension = MIME_type pairs. Many common MIME types are defined by default. Administrators can add additional entries. Both extensions and MIME_types must be declared using the ASCII character set. The entry of invalid MIME types does not affect WebSEAL, but may cause difficulty for client browsers.
Options
extension The file name extension of documents of this MIME type. MIME_type The corresponding MIME type.
Usage:
The entries in this stanza are required.
Default value
The following MIME types are defined by default:
html = text/html htm = text/html gif = image/gif jpeg = image/jpeg ps = application/postscript shtml = text/x-server-parsed-html jpg = image/jpeg jpe = image/jpeg mpeg = video/mpeg mpe = video/mpeg mpg = video/mpeg bin = application/octet-stream exe = application/octet-stream Z = application/octet-stream EXE = application/octet-stream dll = application/octet-stream DLL = application/octet-stream ivsrv = application/octet-stream pdf = application/pdf au = audio/basic snd = audio/basic aiff = audio/x-aiff aifc = audio/x-aiff aif = audio/x-aiff wav = audio/x-wav ai = application/postscript eps = application/postscript rtf = application/rtf zip = application/zip
ief = image/ief tiff = image/tiff tif = image/tiff ras = image/x-cmu-raster pnm = image/x-portable-anymap pbm = image/x-portable-bitmap pgm = image/x-portable-graymap ppm = image/x-portable-pixmap rgb = image/x-rgb xbm = image/x-xbitmap xpm = image/x-xpixmap xwd = image/x-xwindowdump txt = text/plain rtx = text/richtext tsv = text/tab-separated-values etx = text/x-setext qt = video/quicktime mov = video/quicktime avi = video/x-msvideo movie = video/x-sgi-movie js = application/x-javascript ls = application/x-javascript mocha = application/x-javascript wrl = x-world/x-vrml dir = application/x-director dxr = application/x-director dcr = application/x-director crt = application/x-x509-ca-cert tar = application/x-tar
Example:
zip = application/zip
Parent topic: [content-mime-types] stanza