![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 81](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653081.webp)
ObjectType Stage
Chapter
3
Predefined SAFs and the Request Handling Process
81
Examples
type-by-exp
Applicable in
ObjectType
-class directives.
The
type-by-exp
function matches the current path with a wildcard expression. If
the two match, the
type
parameter information is applied to the file. This is the
same as
type-by-extension
, except you use wildcard patterns for the files or
directories specified in the URLs.
Parameters
Examples
bucket
optional, common to all
obj.conf
functions
ObjectType fn=shtml-hacktype exec-hack=true
exp
is the wildcard pattern of paths for which this function is
applied.
type
(optional) is the type assigned to a matching request (the
content-type
header).
enc
(optional) is the encoding assigned to a matching request (the
content-encoding
header).
lang
(optional) is the language assigned to a matching request (the
content-language
header).
charset
(optional) is the character set for the
magnus-charset
parameter in
rq->srvhdrs
. If the browser sent the
Accept-charset
header or its
User-agent
is mozilla/1.1
or newer, then append “
; charset=
charset
” to content-type,
where
charset
is the value of the
magnus-charset
parameter in
rq->srvhdrs
.
bucket
optional, common to all
obj.conf
functions
ObjectType fn=type-by-exp exp=*.test type=application/html
Содержание ENTERPRISE SERVER 6.1
Страница 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Страница 18: ...Where to Find Related Information 18 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 138: ...CGI to NSAPI Conversion 138 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 214: ...NSAPI Functions in Alphabetical Order 214 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 310: ...The Netscape LDAP Schema 310 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 324: ...Sample MIME Types File 324 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Страница 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...