Objecttype - Netscape ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual

Nsapi
Table of Contents

Advertisement

If the
directive assigned a name or generated a physical pathname that
NameTrans
matches the
or
name
ppath
directives in the matching object before applying the directives in the
PathCheck
default object.

ObjectType

Assuming that the
PathCheck
executes the
ObjectType
MIME type has three attributes: type, encoding, and language. When the server
sends the response to the client, the type, language, and encoding values are
transmitted in the headers of the response. The
server to determine which
the client.
If there is more than one
in the order in which they appear. However, once a directive sets an attribute of the
MIME type, further attempts to set the same attribute are ignored. The reason that
all
directives are applied is that one directive may set one attribute, for
ObjectType
example
, while another directive sets a different attribute, such as
type
As with the
PathCheck
as a result of the
NameTrans
the matching object before executing the
object.
Setting the Type By File Extension
Usually the default way the server figures out the MIME type is by calling the
type-by-extension
MIME type according to the requested resource's file extension in the MIME types
table. This table was created during virtual server initialization by the MIME types
file, (which is usually called
For example, the entry in the MIME types table for the extensions
usually:
type=text/html
exts=htm,html
which says that all files that have the extension
formatted as HTML and the
Note that if you make changes to the MIME types file, you must reconfigure the
server before those changes can take effect.
attribute of another object, the server first applies the
directives all approve access, the server next
directives to determine the MIME type of the request. The
directive to execute to generate the response to
Service
directive, the server applies all the directives
ObjectType
directives, if another object has been matched to the request
step, the server executes the
ObjectType
function. This function instructs the server to look up the
.
mime.types)
is
type
text/html
Flow of Control in obj.conf
also frequently helps the
type
ObjectType
directives in the default
.html
or .
are text files
.htm
html
.
Chapter 2
Syntax and Use of obj.conf
.
language
directives in
and
is
.htm
35

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise server 6.0

Table of Contents