![Netscape ENTERPRISE SERVER 6.1 Скачать руководство пользователя страница 246](http://html1.mh-extra.com/html/netscape/enterprise-server-6-1/enterprise-server-6-1_manual_1674653246.webp)
Init SAFs
246
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
dns-cache-init
Applicable in
Init
-class directives.
The
dns-cache-init
function specifies that DNS lookups should be cached when
DNS lookups are enabled. If DNS lookups are cached, then when the server gets a
client’s host name information, it stores that information in the DNS cache. If the
server needs information about the client in the future, the information is available
in the DNS cache.
You may specify the size of the DNS cache and the time it takes before a cache
entry becomes invalid. The DNS cache can contain 32 to 32768 entries; the default
value is 1024 entries. Values for the time it takes for a cache entry to expire
(specified in seconds) can range from 1 second to 1 year; the default value is
1200 seconds (20 minutes).
Parameters
Example:
flex-init
Applicable in
Init
-class directives.
The
flex-init
function opens the named log file to be used for flexible logging
and establishes a record format for it. The log format is recorded in the first line of
the log file. You cannot change the log format while the log file is in use by the
server.
The
flex-log
function writes entries into the log file during the
AddLog
stage of
the request handling process.
cache-size
(optional) specifies how many entries are contained in the
cache. Acceptable values are 32 to 32768; the default value is
1024.
expire
(optional) specifies how long (in seconds) it takes for a cache
entry to expire. Acceptable values are 1 to 31536000 (1 year);
the default is 1200 seconds (20 minutes).
Init fn=
"
dns-cache-init
"
cache-size=
"
2140
"
expire=
"
600
"
Содержание 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...