Appendix E. MIME Types and File Extensions


Table E.1 lists some the file extensions and MIME content types supported by many popular web servers. If your server doesn't list an extension for a particular content type, or if the type you want to use isn't listed at all, you'll have to add support for that type to your server configuration.

Table E.1. MIME Types and HTTP Support

MIME Type

File Type

Extensions

application/acad

AutoCAD Drawing files

dwg, DWG

application/arj

 

arj

application/clariscad

ClarisCAD files

CCAD

application/drafting

MATRA Prelude drafting

DRW

application/dxf

DXF (AutoCAD)

dxf, DXF

application/excel

Microsoft Excel

xl

application/i-deas

SDRC I-DEAS files

unv, UNV

application/iges

IGES graphics format

igs, iges, IGS, IGES

application/mac-binhex40

Macintosh BinHex format

hqx

application/msword

Microsoft Word

word, w6w, doc

application/mswrite

Microsoft Write

wri

application/octet-stream

Uninterpreted binary

bin

application/oda

 

oda

application/pdf

PDF (Adobe Acrobat)

pdf

application/postscript

PostScript

ai, PS, ps, eps

application/pro_eng

PTC Pro/ENGINEER

prt, PRT, part

application/rtf

Rich Text Format

rtf

application/set

SET (French CAD standard)

set, SET_application/sla

 

Stereolithography

stl, STL

application/solids

MATRA Prelude Solids

SOL

application/STEP

ISO-10303 STEP data files

stp, STP, step, STEP

application/vda

VDA-FS Surface data vda,

VDA

application/x-csh

C-shell script

csh

application/x-director

Macromedia Director

dir, dcr, dxr

application/x-dvi

TeX DVI

dvi

application/x-gzip

GNU Zip

gz, gzip

application/x-mif

FrameMaker MIF Format

mif

application/x-hdf

NCSA HDF Data File

hdf

application/x-latex

LaTeX source

latex

application/x-netcdf

Unidata netCDF

nc, cdf

application/x-sh

Bourne shell script

sh

application/x-shockwave-flash

Flash movie

swf

application/x-stuffit

Stuffit Archive

sit

application/x-tcl

TCL script

tcl

application/x-tex

TeX source

tex

application/x-texinfo

Texinfo (Emacs)

texinfo, texi

application/x-troff

Troff

t, tr, roff

application/x-troff-man

Troff with MAN macros

man

application/x-troff-me

Troff with ME macros

me

application/x-troff-ms

Troff with MS macros

ms

application/x-wais-source

WAIS source

src

application/x-bcpio

Old binary CPIO

bcpio

application/x-cpio

POSIX CPIO

cpio

application/x-gtar

GNU tar

gtar

application/x-shar

Shell archive

shar

application/x-sv4cpio

SVR4 CPIO

sv4cpio

application/x-sv4crc

SVR4 CPIO with CRC

sv4crc

application/x-tar

4.3BSD tar format

tar

application/x-ustar

POSIX tar format

ustar

application/x-winhelp

Windows Help

hlp

application/zip

ZIP archive

zip

audio/basic

Basic audio (usually -law)

au, snd

audio/x-aiff

AIFF audio

aif, aiff, aifc

audio/x-mpeg.mp3

MP3 audio

mp3

audio/x-mpegurl

URL resource of MP3 Audio

m3u, mp3url

audio/x-pn-realaudio

RealAudio

ra, ram

audio/x-pn-realaudio

RealAudio (plug-in)

rpm_plugin

audio/x-wav

Windows WAVE audio

wav

image/gif

GIF image

gif

image/ief

Image Exchange Format

ief

image/jpeg

JPEG image

jpg, JPG, JPE, jpe, JPEG, jpeg

image/pict

Macintosh PICT

pict

image/png

Portable Network Graphics

png

image/tiff

TIFF image

tiff, tif

image/x-cmu-raster

CMU raster

ras

image/x-portable-anymap

PBM Anymap format

pnm

image/x-portable-bitmap

PBM Bitmap format

pbm

image/x-portable-graymap

PBM Graymap format

pgm

image/x-portable-pixmap

PBM Pixmap format

ppm

image/x-rgb

RGB Image

rgb

image/x-xbitmap

X Bitmap

xbm

image/x-xpixmap

X Pixmap

xpm

image/x-xwindowdump

X Windows dump

 
 

(xwd) format

xwd

multipart/x-zip

PKZIP Archive

zip

multipart/x-gzip

GNU ZIP Archive

gzip

text/html

HTML

html, htm

text/plain

Plain text

txt, g, h, C, cc, hh, m, f90

text/richtext

MIME Richtext

rtx

text/tab-separated-values

Text with tab-separated values

tsva

text/x-setext

Struct enhanced text

etx

video/mpeg

MPEG video

mpeg, mpg, MPG, MPE, mpe, MPEG, mpeg

video/quicktime

QuickTime Video

qt, mov

video/msvideo

Microsoft Windows Video

avi

video/x-sgi-movie

SGI Movieplayer format

movie

x-world/x-vrml

VRML Worlds

wrl





Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day
Sams Teach Yourself Web Publishing with HTML and CSS in One Hour a Day (5th Edition)
ISBN: 0672328860
EAN: 2147483647
Year: 2007
Pages: 305

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net