| Applying science to business management |
  
MIME Types
When the server returns a document to a Web browser, it
includes a MIME type code in the response header that tells the
browser what kind of document is being returned. You can modify
the MIME type codes by editing the file DsServer.ini in
the server program directory (usually C:\Program
Files\Vanguard\Dscript Server 4\Decision). This file contains the
line:
MimeTypes=\=text/html,.htm=text/html,.html=text/html,
.txt=text/plain,.text=text/plain,.gif=image/gif,
.jpg=image/jpeg,.jpeg=image/jpeg,.jpe=image/jpeg,
.js=application/x-javascript,.hst=forbidden,
.bin=forbidden,*=application/octet-stream
Normally you will not need to modify this line. However, you
can add new MIME types or forbid access to files of a particular
type by editing the line. The MIME type line consists of a list
of file extension/MIME type pairs separated by comas. Each pair
has the format:
extension=MIME type
The MIME type "forbidden" is interpreted by the
server as a request to refuse access to all files of this type.
The file extension "*" is used to represent all other
file types. The * file type must be the last type in the list.
For example, if you want to provide access to files with the
extensions .htm and .jpg and refuse access to all other files,
then use the line:
MimeTypes=.htm=text/html,.jpg=image/jpeg,*=forbidden
|