WebSTAR 4 Manual & Technical Reference

Manual Contents | Chapter Contents | Previous Page | Next Page

Default File Suffix Mappings

These Suffix Mappings will allow the WebSTAR Web server to serve the most common file types without any additional configuration. Remember that order matters: the Web server uses the first matching suffix, serves the file using the Action and sets the header to the MIME type for the browser or other client to recognize.  

Predefined Suffix Mappings 

Kind of file

Action

Suffix

Type

Creator

MIME Type

Graphics

BINARY

.GIF

GIFf

ogle

image/gif

BINARY

.JPG

JPEG

ogle

image/jpeg

BINARY

.JPEG

JPEG

ogle

image/jpeg

BINARY

.PNG

PNGf

ogle

image/png

HTML

BINARY

.HTML

TEXT

R*ch

text/html

BINARY

.HTM

TEXT

R*ch

text/html

CGI Applications

ACGI

.ACGI

APPL

*

text/html

CGI

.CGI

APPL

*

text/html

BinHex

BINARY

.HQX

TEXT

BnHq

application/mac-binhex40

MacBinary

BINARY

.BIN

BINA

SITx

application/x-macbinary

StuffIt

BINARY

.SIT

SITD

SIT!

application/x-stuffit

Adobe Acrobat (PDF)

BINARY

.PDF

PDF%20

CARO

application/pdf

PC executable

BINARY

.EXE

PFCA

SWIN

application/octet-stream

Java

BINARY

.CLASS

Clss

CWIE

application/octet-stream

BINARY

.JAVA

TEXT

CWIE

application/octet-stream

JavaScripts

BINARY

.JS

TEXT

R*ch

application/x-javascript

Style Sheets

BINARY

.CSS

TEXT

R*ch

text/css

Text ( ASCII)

TEXT

.TEXT

TEXT

R*ch

text/plain

TEXT

.TXT

TEXT

R*ch

text/plain

XML & SGML Text

BINARY

.XML

TEXT

R*ch

text/xml

BINARY

.SGML

TEXT

R*ch

text/sgml

QuickTime video

BINARY

.MOV

MOOV

TVOD

video/quicktime

BINARY

.QT

MOOV

TVOD

video/quicktime

BINARY

.QTVR

MOOV

TVOD

video/quicktime

BINARY

.DV

dvc!

TVOD

video/octet-stream

BINARY

.QTC

*

*

video/x-qtc

MPEG video

BINARY

.MPG

MPEG

TVOD

video/mpeg

BINARY

.MPEG

MPEG

TVOD

video/mpeg

AVI video

BINARY

.AVI

Vfw%20

TVOD

video/x-msvideo

RealAudio

BINARY

.RA

PNRM

PNst

application/x-pn-realaudio

BINARY

.RAM

PNRM

PNst

application/x-pn-realaudio

Audio Format (Sun)

BINARY

.AU

ULAW

TVOD

audio/basic

AIFF (Audio Interchange File Format, Apple)

BINARY

.AIF

AIFF

TVOD

audio/x-aiff

BINARY

.AIFF

AIFF

TVOD

audio/x-aiff

BINARY

.AIFC

AIFF

TVOD

audio/x-aiff

PureVoice (Qualcomm)

BINARY

.QCP

celp

Blad

audio/vnd.qcelp

WAVE (Microsoft)

BINARY

.WAV

WAVE

TVOD

audio/x-wav

Unix TAR files

BINARY

.TAR

TARF

S691

application/x-tar

GZIP compressed files

BINARY

.GZ

Gzip

Gzip

application/x-gzip

ZIP compressed files

BINARY

.ZIP

ZIP%20

ZIP%20

application/zip

PostScript

BINARY

.EPS

EPSF

vgrd

application/postscript

BINARY

.PS

TEXT

vgrd

application/postscript

VRML

BINARY

.WRL

TEXT

R*ch

x-world/x-vrml

PICT graphics

BINARY

.PICT

PICT

ttxt

image/pict

XBM graphics

BINARY

.XBM

XBM%20

GKON

image/x-xbm

Microsoft Word

BINARY

.WORD

WDBN

MSWD

application/msword

BINARY

.DOC

WDBN

MSWD

application/msword

Microsoft Excel

BINARY

.XL

XLS%20

XCEL

application/vnd.ms-excel

BINARY

.XLS

XLS%20

XLS8

application/vnd.ms-excel

MS PowerPoint

BINARY

.PPT

SLD3

PPT3

application/vnd.ms-powerpoint

MacroMedia Director, Shockwave, Flash and Future Splash

BINARY

.DCR

FGDM

AFTB

application/x-director

BINARY

.DIR

FGDM

AFTB

application/x-director

BINARY

.DXR

FGDM

AFTB

application/x-director

BINARY

.SWA

FGDM

AFTB

application/x-director

BINARY

.SWF

SWFL

SWF2

application/x-shockwave-flash

BINARY

.SPL

TEXT

Fspl

application/futuresplash

RAW

RAW

.RAW

RAW!

WWW%BD

application/x-raw-stuff

RAW Files

Files with a type of "RAW!" and creator code of "WWWω" are always served as binary, no matter what the suffix is. Therefore, it's not possible to write CGIs or Plug-Ins that perform any actions on these files.


Manual Contents | Chapter Contents | Previous Page | Next Page