|1Global Configuration|| |^ The example |link%|/wasd_root/example/WASD_CONFIG_GLOBAL.conf|configuration file| can be used as a template. |^ By default, the logical name |*WASD_CONFIG_GLOBAL|| locates a global configuration file. Simple editing of the configuration file changes the rules. Alternatively the Server Administration page configuration interface may be used. Changes to the global configuration file require a server restart to put them into effect. |^ The [IncludeFile] is a directive common to all WASD configuration, allowing a separate file to be included as a part of the current configuration. See |link|Include File Directive||. |^ Some directives take a single parameter, such as an integer, string or boolean value. Other directives can/must have multiple parameters. The version 4 configuration requires the directive to be placed on a line by itself and each separate parameter on a separate line following it. All parameter lines apply to the most recently encountered directive. |^ Note that all |/boolean|| directives are |/disabled|| (OFF) by default. This is done so that there can be no confusion about what is enabled and disabled by default. To use directive controlled facility it |*must|| be explicitly enabled. |^ Directives requiring |/periods|| (timeouts, lifetimes, etc.) can be specified as a single integer (representing seconds, minutes, hours, etc., depending on the directive) or unambiguously using any one of |/minutes:seconds||, |/hours:minutes:seconds| or |/days-hours:minutes:seconds||. |^ Changes to the global configuration file can be validated at the command-line before restart. This detects and reports any syntactical and fatal configuration errors but of course cannot check the |/intent| of the rules. |code| $ HTTPD /DO=GLOBAL=CHECK |!code| |2Functional Groupings| |table| |~ |.2 |0_Authentication/Authorization| |~ |. [AuthBasic] |. enable BASIC method |~ |. [AuthCacheEntriesMax] |. maximum concurrent authentication cache entries |~ |. [AuthCacheEntrySize] |. maximum authentication cache entry size in bytes |~ |. [AuthCacheMinutes] |. minutes before explicitly reauthorizing user from sources |~ |. [AuthDigest] |. enable DIGEST method |~ |. [AuthDigestGetLife] |. DIGEST method GET lifetime |~ |. [AuthDigestPutLife] |. DIGEST method PUT lifetime |~ |. [AuthFailureLimit] |. retries allowed before username is marked as intruder |~ |. [AuthFailurePeriod] |. period during which failure limit is applied |~ |. [AuthFailureTimeout] |. period during which a recognised authentication failure is applied |~ |. [AuthRevalidateLoginCookie] |. |/Obsolete for WASD v10.2.1 and following.|| |~ |. [AuthRevalidateUserMinutes] |. minutes before use needs to reenter password |~ |. [AuthSysUafAcceptExpPwd] |. accept expired SYSUAF passwords |~ |. [AuthSysUafLogonType] |. LOCAL, DIALUP, NETWORK (default), REMOTE |~ |. [AuthSysUafPwdExpURL] |. redirection URL is SYSUAF password if expired |~ |. [AuthSysUafUseAcme] |. |/Obsolete for WASD V9.3 and following.|| |~ |.2 |0_Buffer Sizes| |~ |. [BufferQuotaDclOutput] |. allows sizing of script process SYS$OUTPUT mailbox quota |~ |. [BufferSizeDclCgiHeader] |. number of bytes allocated to when processing a CGI response header |~ |. [BufferSizeDclCgiPlusIn] |. number of bytes allocated to scripting process CGIPLUSIN mailbox |~ |. [BufferSizeDclCommand] |. bytes allocated to scripting process SYS$COMMAND mailbox |~ |. [BufferSizeDclOutput] |. bytes allocated to scripting process SYS$OUTPUT mailbox |~ |. [BufferSizeNetFile] |. maximum bytes allocated to output buffer when transfering file content |~ |. [BufferSizeNetMTU] |. adjust network buffer to this value of MTU (maximum transmission unit) |~ |. [BufferSizeNetRead] |. bytes allocated to client request read buffer, and to the scripting process SYS$INPUT mailbox |~ |. [BufferSizeNetWrite] |. bytes allocated to client output buffer |~ |. [SocketSizeRcvBuf] |. bytes allocated to a network connection receive buffer |~ |. [SocketSizeSndBuf] |. bytes allocated to network connection send buffer |~ |.2 |0_Content-Type| |~ |. [AddType] |. add a content-type |~ |. [AddMimeTypesFile] |. add the contents of a standard MIME.TYPES file |~ |. [CharsetConvert] |. conversion of one character set to another |~ |. [CharsetDefault] |. default character set for text responses |~ |. [StreamLF] |. enable and set maximum size of automatic Stream-LF conversion |~ |.2 |0_Directory Listing| |~ |. [AddIcon] |. path to icon for a specified content-type |~ |. [AddBlankIcon] |. path to blank icon |~ |. [AddDefaultIcon] |. path to default icon |~ |. [AddDirIcon] |. path to directory icon |~ |. [AddParentIcon] |. path to parent icon |~ |. [AddUnknownIcon] |. path to icon for unknown content-type |~ |. [DirAccess] |. enable and form of listing |~ |. [DirBodyTag] |. specify HTML body tag of listing pages |~ |. [DirDescriptionLines] |. number of HTML file lines searched for document title |~ |. [DirLayout] |. layout of the various listing components |~ |. [DirMetaInfo] |. add server and VMS directory information |~ |. [DirNoImpliedWildcard] |. do not add wildcards to request if not present in path |~ |. [DirNoPrivIgnore] |. ignore, do not report, privilege violations on files/directories |~ |. [DirOwner] |. allow owner of file to be included in layout directive |~ |. [DirPreExpired] |. pre-expire listing responses |~ |. [DirReadMeFile] |. specify read-me files |~ |. [DirWildcard] |. allow wildcards to be specified at all |~ |.2 |0_File Cache| |~ |. [CacheChunkKBytes] |. memory block allocation size |~ |. [CacheEntriesMax] |. maximum number of files allowed in cache |~ |. [CacheFileKBytesMax] |. maximum size of a file |~ |. [CacheFrequentHits] |. identify active files |~ |. [CacheFrequentPeriod] |. identify active file |~ |. [CacheGuardPeriod] |. prevent early reloads |~ |. [CacheTotalKBytesMax] |. maximum memory to be consumed by cache |~ |. [CacheValidatePeriod] |. maximum period before the cache checks for file modification |~ |.2 |0_HTTP/2| |~ |. [Http2Protocol] |. enables/disables HTTP/2 on a global basis |~ |. [Http2FrameSizeMax] |. maximum number of bytes in an HTTP/2 frame |~ |. [Http2HeaderListMax] |. maximum number of bytes in a request or response header |~ |. [Http2HeaderTableSize] |. maximum number of bytes in a request lookup table |~ |. [Http2PingSeconds] |. period between RTT server-client pings |~ |. [Http2StreamMax] |. number of concurrent streams (requests) permitted on a connection |~ |. [Http2InitWindowSize] |. initial connection flow-control window size |~ |.2 |0_Logging| |~ |. [Logging] |. enable logging |~ |. [LogExcludeHosts] |. hosts to be excluded from log |~ |. [LogExtend] |. default allocation/extend in blocks |~ |. [LogFile] |. provides part or all of log file name |~ |. [LogFormat] |. nature and layout of log contents |~ |. [LogNaming] |. how the log name is be constructed |~ |. [LogPeriod] |. period at which new logs are created |~ |. [LogPerInstance] |. create a separate log for each instance process |~ |. [LogPerService] |. create a separate log for each configured service |~ |. [LogPerServiceHostOnly] |. suppress service port number as component of log name |~ |. [LogWriteFail503] |. generate 530 responses if the access log cannot be written |~ |.2 |0_Operator Console and Log| |~ |. [OpcomAdmin] |. Server Administration directives |~ |. [OpcomAuthorization] |. authentication/authorization messages, e.g. failures |~ |. [OpcomControl] |. CLI HTTPd control directives |~ |. [OpcomHTTPd] |. HTTPd events (e.g. startup, exit, SSL private key password requests) |~ |. [OpcomProxyMaint] |. proxy file cache maintenance |~ |. [OpcomTarget] |. target operator for online messages |~ |.2 |0_Miscellaneous| |~ |. [Accept] |. restrictive list of host from which to accept requests |~ |. [ActivityDays] |. activity graph duration |~ |. [ConnectMax] |. maximum number of concurrent connections |~ |. [DNSLookupClient] |. enable client host name lookup |~ |. [DNSLookupLifeTime] |. host name lookup cache entry lifetime |~ |. [DNSLookupRetry] |. number two second attempts to resolve client host name |~ |. [EntityTag] |. provide a strong validator for file-system based resources |~ |. [GzipAccept] |. advertise acceptance of GZIUP (deflated) request bodies |~ |. [GzipFlush] |. period between GZIP buffer flushes |~ |. [GzipResponse] |. enable GZIP (deflated) response bodies |~ |. [InstanceMax] |. number of per-node server processes to maintain |~ |. [InstancePassive] |. start multiple instances already in |/passive|| mode |~ |. [Monitor] |. enable HTTPDMON data exchange |~ |. [PipelineRequests] |. check for and process pipelined requests |~ |. [Port] |. default port |~ |. [ProcessMax] |. maximum number of concurrent requests being processed |~ |. [PutBinaryRFM] |. record format of uploaded file |~ |. [PutMaxKBytes] |. maximum size of a POST or PUT |~ |. [PutVersionLimit] |. maximum RMS file versions retained in a POST or PUT |~ |. [RegEx] |. enable regular expression matching |~ |. [Reject] |. proscriptive list of hosts from which request will be rejected |~ |. [RequestHistory] |. number of requests kept for request report |~ |. [SearchScript] |. path to default search script |~ |. [SearchScriptExclude] |. list of file extensions excluded from implied keyword search |~ |. [Service] |. list of host names and/or port to create services for |*|/.(deprecated)|||| |~ |. [ServiceNotFoundURL] |. redirection URL when a request service is not configured |~ |. [Welcome] |. list of file names that are checked for as home pages |~ |. [WWWimplied] |. virtual services |/host.name|| and |/www.host.name|| are treated as synonyms |~ |.2 |0_Proxy Serving| |~ |. [ProxyCache] |. enable proxy caching |~ |. [ProxyCacheFileKBytesMax] |. maximum size of response for caching |~ |. [ProxyCacheDeviceCheckMinutes] |. minutes between check of cache device usage |~ |. [ProxyCacheDeviceDirOrg] |. flat 256 or 64x64 directory organization |~ |. [ProxyCacheDeviceMaxPercent] |. maximum percentage of cache device used before purge |~ |. [ProxyCacheDevicePurgePercent] |. during purge reduce by this many percent |~ |. [ProxyConnectPersistMax] |. connection persistence for this number of connections |~ |. [ProxyConnectPersistSeconds] |. connections persist for this number of seconds |~ |. [ProxyConnectTimeoutSeconds] |. the proxy to origin server connect times-out after this number of seconds |~ |. [ProxyNegativeSeconds] |. cache negative (failure) responses for this period |~ |. [ProxyCacheNoReloadSeconds] |. prevent pragma reloads for this period |~ |. [ProxyCachePurgeList] |. list of file ages used during purge |~ |. [ProxyCacheReloadList] |. list of file ages before realod from source |~ |. [ProxyCacheRoutineHourOfDay] |. hour of day routine cache purge occurs |~ |. [ProxyForwarded] |. add "Forwarded:" to requests |~ |. [ProxyHostLookupRetryCount] |. DNS resolution retry count |~ |. [ProxyReportLog] |. report failures to process log |~ |. [ProxyReportCacheLog] |. report cache failures to process log |~ |. [ProxyServing] |. enable proxy server |~ |. [ProxyVerifyRecordMax] |. enable proxy verification |~ |. [ProxyXForwardedFor] |. add "X-Forwarded-For:" to requests |~ |.2 |0_Reports| |~ |. [ErrorReportPath] |. path to script, SSI or "flat" error document |~ |. [ErrorRecommend] |. for server generated error include probable cause |~ |. [ReportBasicOnly] |. only ever generate reports containing basic details |~ |. [ReportMetaInfo] |. add server information to directory listings, etc. |~ |. [ServerAdmin] |. email address for server-related contact |~ |. [ServerAdminBodyTag] |. specify HTML body tag of Server Administration (menu) pages |~ |. [ServerReportBodyTag] |. specify HTML body tag of error and other report pages |~ |. [ServerSignature] |. add server information to the foot of error and other report pages |~ |.2 |0_Timeout| |~ |. [TimeoutHttp2Idle] |. period an HTTP/2 connection remains without processing a request |~ |. [TimeoutInput] |. period a connection can wait before sending request |~ |. [TimeoutNoProgress] |. period a response can continue without data transfer progress |~ |. [TimeoutOutput] |. period a response can continue to output |~ |. [TimeoutPersistent] |. period a connection is kept active after request conclusion |~ |.2 |0_Scripting| |~ |. [CgiStrictOutput] |. script output must be CGI compliant |~ |. [DclBitBucketTimeout] |. period a script continues after a client prematurely disconnects |~ |. [DclCgiPlusLifeTime] |. period of non-use before CGIplus process is deleted |~ |. [DclCleanupScratchMinutesMax] |. maximum minutes between WASD_SCRATCH cleanups |~ |. [DclCleanupScratchMinutesOld] |. cleanup files older than this |~ |. [DclDetachProcess] |. use detached scripting processes rather than subprocesses |~ |. [DclGatewayBG] |. enable raw TCP/IP socket for scripts |~ |. [DclHardLimit] |. maximum number of concurrent processes |~ |. [DclScriptProctor] |. proactive script and scripting environment startup |~ |. [DclScriptRunTime] |. script execution environment |~ |. [DclSoftLimit] |. maximum number of processes before proactive deletion begins |~ |. [DclSpawnAuthPriv] |. spawn subprocesses with account's authorized privileges |~ |. [DclZombieLifeTime] |. period of non-use before a CGI/CLI process is deleted |~ |. [DECnetReuseLifeTime] |. period of non-use before a DECnet process is released |~ |. [DECnetConnectListMax] |. maximum number of DECnet processes |~ |. [Scripting] |. enables and disables all scripting |~ |.2 |0_Secure Socket| |~ |. [SecureSocket] |. enable Secure Socket (TLS/SSL) (if built with SSL) |~ |. [SSLcert] |. server certificate file |~ |. [SSLcipherList] |. list of enabled/disable ciphers |~ |. [SSLinstanceCacheMax] |. multiple instance shared session cache maximum number of records |~ |. [SSLinstanceCacheSize] |. multiple instance shared session cache size of record |~ |. [SSLkey] |. server certificate private key |~ |. [SSLoptions] |. options flags |~ |. [SSLsessionCacheMax] |. session cache maximum records |~ |. [SSLsessionLifetime] |. session lifetime |~ |. [SSLstrictTransSec] |. HSTS maxiumum age in seconds |~ |. [SSLverifyPeer] |. verify client certificate |~ |. [SSLverifyPeerDataMax] |. maximum kBytes of request data buffered during renegotiation |~ |. [SSLverifyPeerCAFile] |. file of accepted CAs |~ |. [SSLverifyPeerDepth] |. depth of certificate chain |~ |. [SSLversion] |. TLS/SSL protocol versions supported |~ |.2 |0_Server Side Includes| |~ |. [SSI] |. enable Server Side Includes (SSI) |~ |. [SSIaccesses] |. allow access counting |~ |. [SSIexec] |. allow DCL commands |~ |. [SSIsizeMax] |. maximum source file size |~ |.2 |0_WebDAV| |~ |. [WebDAV] |. enable WebDAV support |~ |. [WebDAVCollectionDepth] |. test locking to this depth |~ |. [WebDAVlocking] |. enable WebDAV locking |~ |. [WebDAVlockingTimeoutDefault] |. set default lock timeout |~ |. [WebDAVlockingTimeoutMax] |. set maximumg lock timeout |~ |. [WebDAVmetaDir] |. location of metadata |~ |. [WebDAVquota] |. enable disk quota reporting |!table| |2Alphabetic Listing| |number| |item| |*.[Accept] |/host/domain name|||| |/.(default: all)|| |^ One or more (comma-separated if on the same line) internet host/domain names, with "*" wildcarding for host/subdomain matching, to be explicitly allowed access. If DNS lookup is not enabled hosts must be expressed using literal addresses (see [DNSLookup] directive). Also see the [Reject] directive. Reject directives have precedence over Accept directives. The Accept directive may be used multiple times. |code| [Accept] *.www.example.com 131.185.250.* |!code| |item| |*.[ActivityDays] |/integer|||| |/.(default: 0)|| |^ Specifies the number of days to record activity statistics, available in report form from the Server Administration facility. Zero disables this data collection. The maximum is 28 days. 11520 bytes per day, and 80640 per week, is required to store the per-minute data. |item| |*.[AddIcon] |/icon-URL| |/ALT-text| |/template| |/.(no default)| | |^ Specifies a directory listing icon and alternative text for the mime content type specified in the template. |code| [AddIcon] /icon/-/doc.gif [HTM] text/html /icon/-/text.gif [TXT] text/plain /icon/-/image.gif [IMG] image/gif |!code| |item| |*.[AddBlankIcon] |/icon-URL|||| |^- |*.[AddDefaultIcon] |/icon-URL|| |/ALT-text|||| |^- |*.[AddDirIcon] |/icon-URL|| |/ALT-text|||| |^- |*.[AddParentIcon] |/icon-URL|| |/ALT-text|||| |^- |*.[AddUnknownIcon] |/icon-URL|| |/ALT-text|||| |/.(no defaults)|| |^ Specifies a directory listing icon for these non-content-type parts of the listing. |code| [AddBlankIcon] /icon/-/blank.gif _____ [AddDefaultIcon] /icon/-/file.gif [FIL] [AddDirIcon] /icon/-/dir.gif [DIR] [AddParentIcon] /icon/-/back.gif [<--] [AddUnknownIcon] /icon/-/unknown.gif [???] |!code| |item| |*.[AddMimeTypesFile] |/file specification|| || |/.(no default)|| |^ Add the content-types of a (de facto) standard MIME.TYPES file to the already configured [AddType] content-types. This binds a file suffix (extension, type) to a MIME content-type. Any specification in this file will supercede any previously defined via [AddType]. A MIME.TYPES file looks something like |code| # MIME type Extension application/msword doc application/octet-stream bin dms lha lzh exe class application/oda oda application/pdf pdf application/postscript ai eps ps application/rtf rtf |!code| |^ The WASD server uses a number of extensions to provide additional information. See |link|Content-Type Configuration||. |item| |*.[AddType] |/.suffix|| |/content-type|| [|/ftp:||] [|/rfm:||] [|/script-name||] [|/description||] || |/.(no default)|| |^ Binds a file suffix (extension, type) to a mime content type. The script name is used to auto-script against a specified file type. Use a hyphen as a place-holder and to indicate no auto-script. The description is used as documentation for directory listings. |code| [AddType] .html text/html Web Markup Language .txt text/plain plain text .gif image/gif image (GIF) .hlb text/x-script /Conan VMS Help library .decw$book text/x-script /HyperReader Bookreader book * internal/x-unknown application/octet-stream #* internal/x-unknown text/plain |!code| |^ The content-type string may include a specific character set. In this way non-default sets (which is usually ISO-8859-1) can be specified for any particular site or any particular file type. Enclose the content-type string with double-quotation marks. |code| [AddType] .html "text/html; charset=ISO-8859-1" HTML (ISO-8859-1) .html_5 "text/html; charset=ISO-8859-5" Cyrillic HTML (ISO-8859-5) .html_r "text/html; charset=KOI8-R" Cyrillic HTML (KOI8-R) .txt "text/plain; charset=ISO-8859-1" plain text (ISO-8859-1) .txt_5 "text/plain; charset=ISO-8859-5" Cyrillic text (ISO-8859-5) .txt_r "text/plain; charset=KOI8-R" Cyrillic text (KOI8-R) |!code| |^ To provide additional information for correct handling of FTP transfers the transfer mode can be indicated after the content type using the FTP: keyword. One of three characters is used. An "A" indicates that this file type should be FTP transfered in ASCII mode. An "I" or a "B" indicates that this file type should be FTP transfered in Image (binary) mode. |code| [AddType] .ps application/postscript ftp:A Postscript document |!code| |^ To specify a VMS record format for POST or PUT files use the RFM: keyword following the content-type. This record format will always be used when creating the file. The precedence for determining the created file record format is [AddType] RFM:, then any per-path PUT=RFM= mapping rule, then [PutBinaryRFM], then a default of UDF. |code| [AddType] .doc application/msword rfm:STMCR MS Word document |!code| |item| |*.[AuthBasic] |=ENABLED\|DISABLED|||| |/.(default: DISABLED)|| |^ Enables or disables BASIC username authentication. |item| |*.[AuthCacheEntriesMax] |/integer|||| |/.(default: 32)|| |^ Maximum concurrent authentication cache entries. This needs to be sized adequately to prevent the cache from thrashing (too many attempted entries causing each to spend very little time in the cache before being replaced, only to need to be inserted again with the next attempted access). |item| |*.[AuthCacheEntrySize] |/integer|||| |/.(default: 768)|| |^ Maximum size of an authentication cache entry. The only reason where this may need to be increased is where a site is using the /PROFILE functionality and one or more accounts have a particularly large number of rights identifiers. |item| |*.[AuthCacheMinutes] |/integer|||| |/.(default: 60)|| |^ The number of minutes authentication information is cached before being revalidated from the authentication source. Zero disables caching (with a resultant impact on performance as each request requiring authentication is validated directly from the source). |item| |*.[AuthDigest] |=ENABLED\|DISABLED|||| |/.(default: DISABLED)|| |^ Enables or disables Digest username authentication. |item| |*.[AuthDigestGetLife] |/integer|||| |/.(default: 0)|| |^ The number of seconds a digest nonce for a GET request (read) can be used before becoming stale. |item| |*.[AuthDigestPutLife] |/integer|||| |/.(default: 0)|| |^ The number of seconds a digest nonce for a PUT (/POST/DELETE ... write) request can be used before becoming stale. |item| |*.[AuthFailureLimit] |/integer|||| |/.(default: 0)|| |^ The number of unsuccessful attempts at authentication before the username is disabled. Once disabled any subsequent attempt is automatically refused without further reference to the authentication source. A disabled username can be reenabled by simply purging the cache. Parallels the purpose of SYSGEN parameter LGI_BRK_LIM. |item| |*.[AuthFailurePeriod] |/hh:mm:ss|||| |/.(default: 00:00:00)|| |^ The period during which [AuthFailureLimit] is applied. Parallels the purpose of SYSGEN parameter LGI_BRK_TMO. |item| |*.[AuthFailureTimeout] |/hh:mm:ss|||| |/.(default: 00:00:00)|| |^ The period during which which any intrusion aversion is applied. Parallels the purpose of SYSGEN parameter LGI_HID_TIM. |item| |*.[AuthRevalidateUserMinutes] |/integer|||| |/.(default: 60)|| |^ The number of minutes between authenticated requests that user authentication remains valid before the user is forced to reenter the authentication information (via browser dialog). Zero disables the requirement for revalidation. |item| |*.[AuthSysUafAcceptExpPwd] |=ENABLED\|DISABLED|||| |/.(default: DISABLED)|| |^ If a SYSUAF authenticated password has expired (password lifetime has been reached) accept it anyway (in much the same way network logins are accepted in similar circumstances). This is very different to |/account expiry||, after which authentication is always rejected. |item| |*.[AuthSysUafLogonType] |=LOCAL\|DIALUP\|NETWORK\|REMOTE|||| |/.(default: NETWORK)|| |^ When SYSUAF authentication is performed |/account access restrictions|| are checked. By default NETWORK restrictions are used but this global configuration parameter allows another to be specified. |item| |*.[AuthSysUafPwdExpURL] |/string|||| |/.(default: none)|| |^ If a SYSUAF authenticated password is/has expired the request is redirected to this URL to change the password. |item| |*.[AuthSysUafUseAcme]|| |^ |/Obsolete for WASD V9.3 and following.|| |item| |*.[BufferQuotaDclOutput] |/integer|||| |/.(default: [BufferSizeDclOutput] + 256)|| |^ The number of bytes allocated to script SYS$OUTPUT mailbox capacity. The [BufferSizeDclOutput] sets the maximum record size and [BufferQuotaDclOutput] the total number of bytes that can be outstanding at any given time. |item| |*.[BufferSizeDclCgiHeader] |/integer|||| |/.(default: 2048)|| |^ The number of bytes allocated to store and process a script CGI response header. |item| |*.[BufferSizeDclCgiPlusIn] |/integer|||| |/.(default: 2048)|| |^ The number of bytes (and hence BYTLM quota) permanently allocated to each scripting process CGIPLUSIN mailbox. |item| |*.[BufferSizeDclCommand] |/integer|||| |/.(default: 3072)|| |^ The number of bytes (and hence BYTLM quota) permanently allocated to each scripting process SYS$COMMAND mailbox. |item| |*.[BufferSizeDclOutput] |/integer|||| |/.(default: 4096)|| |^ The number of bytes (and hence BYTLM quota) permanently allocated to each scripting process SYS$OUTPUT mailbox. |item| |*.[BufferSizeNetFile] |/integer|||| |/.(default: none)|| |^ The maximum bytes to be allocated to a buffer when transfering file content. For larger files this can improve both the reading of the file content from disk and when appropriately |/tuned|| to the local system the transmission of that content to the client, significantly increasing data rates. Limited to the $QIO maximum I/O unit of 65,535 bytes. Bigger is not always necessarily better (in the sense it always improves data rates). |item| |*.[BufferSizeNetMTU] |/integer|||| |/.(default: none)|| |^ This more esoteric directive attempts to minimise network buffer transmission wastage by rounding the output buffer size up to the network interface MTU (maximum transmission unit). This can provide small improvements to transmission efficiency. For example a filled buffer of 4096 with an MTU of 1500 sends two 1500 byte packets and then one of 1096 bytes, theoretically wasting some 404 bytes. A potentially better choice of buffer size would be 4500. Setting this directive to 1500 would result in the server automatically rounding a [BufferSizeNetWrite] value (for example) from 4096 up to 4500. |item| |*.[BufferSizeNetRead] |/integer|||| |/.(default: 2048)|| |^ The number of bytes allocated to the network read buffer (used for request header, POST body, etc.). Also the number of bytes (and hence BYTLM quota) permanently allocated to each scripting process SYS$INPUT mailbox (allowing a script to read a request body). |item| |*.[BufferSizeNetWrite] |/integer|||| |/.(default: 4096)|| |^ Number of bytes allocated to the network write buffer. This buffer is used as the basic unit when transfering file contents (from cache or the file system), as an output buffer during SSI pocessing, directory listing, etc. During many activities multiple outputs are buffered into this storage before being written to the network. |item| |*.[Cache] |=ENABLED\|DISABLED|||| |/.(default: DISABLED)|| |^ File cache control. |item| |*.[CacheChunkKBytes] |/integer|||| |/.(default: 0)|| |^ Granularity of memory blocks allocated to file data, in kilobytes. |item| |*.[CacheEntriesMax] |/integer|||| |/.(default: 0)|| |^ Maximum number of files loaded into the cache before entries are reused removing the original contents from the cache. |item| |*.[CacheFileKBytesMax] |/integer|||| |/.(default: 0)|| |^ Maximum size of a file before it is not a candidate for being cached, in kilobytes. |item| |*.[CacheFrequentHits] |/integer|||| |/.(default: 0)|| |^ Minimum, total number of hits an entry must sustain before being a candidate for [CacheFrequentPeriod] assessment. |item| |*.[CacheFrequentPeriod] |/hh:mm:ss|||| |/.(default: 00:00:00)|| |^ If a file has been hit at least [CacheFrequentHits] times in total and the last was within the period here specified it will not be a candidate for reuse. See |link|Cache Configuration||. |item| |*.[CacheGuardPeriod] |/integer|||| |/.(default: 15)|| |^ During this period subsequent |/reloads|| (no-cache) requests will not result in the entry being revalidated or reloaded. This can guard period can help prevent unnecessary file system activity. |item| |*.[CacheEntriesMax] |/integer|||| |/.(default: 0)|| |^ |/Obsolete for WASD V8.0 and following.|| |item| |*.[CacheTotalKBytesMax] |/integer|||| |/.(default: 0)|| |^ Maximum memory allocated to the cache, in kilobytes. |item| |*.[CacheValidatePeriod] |/hh:mm:ss|||| |/.(default: 00:00:00)|| |^ The interval after which a cache entry's original, content revision time is revalidated against the file's current revision time. If not the same the contents are declared invalid and reloaded. |item| |*.[CharsetConvert] |/string|||| |/.(default: none)|| |^ Document and CGI script output can be dynamically converted from one character set to another using the standard VMS NCS conversion library. This directive provides the server with character set aliases (those that are for all requirements the same) and which NCS conversion function may be used to convert one character set into another. The general format is |code| document-charset accept-charset[,accept-charset..] [NCS-function-name] |!code| |^ When this directive is configured the server compares each text response's character set (if any) to each of the directive's |/document charset|| string. If it matches it then compares each of the |/accepted charset|| (if multiple) to the request "Accept-Charset:" list of accepted characters sets. If the same is is either accepted as-is or if a conversion function specified converted by NCS as the document is transfered. |code| windows-1251 windows-1251,cp-1251 windows-1251 koi8-r koi8r_to_windows1251_to_koi8r koi8-r koi8-r,koi8 koi8-r windows-1251,cp-1251 koi8r_to_windows1251 |!code| |item| |*.[CharsetDefault] |/string|||| |/.(default: none)|| |^ The default character set sent in the response header for text documents (plain and HTML). English language sites should specify ISO-8859-1, other Latin alphabet sites, ISO-8859-2, 3, etc. Cyrillic sites might wish to specify ISO-8859-5 or KOI8-R, and so on. |item| |*.[CgiStrictOutput] |=ENABLED\|DISABLED|||| |/.(default: DISABLED)|| |^ A script must output a full HTTP or CGI-compliant response. If a plain-text stream is output an error is reported (being the more common behaviour for servers). Errors in output can be disagnosed using the WATCH facility. |item| |*.[ConnectMax] |/integer|||| |/.(default: 200)|| |^ The maximum number of concurrent client connections before a "|/server too busy right now ... try again shortly||" error is returned to the client. |item| |*.[DclBitBucketTimeout] |/hh:mm:ss|||| |/.(default: 0)|| |^ Period a script is allowed to continue processing before being terminated after a client prematurely disconnects. An approptiate setting allows most scripts to conclude elegantly and be available for further use. This improves scripting efficiency significantly. Setting this period to zero terminates scripts (and their associated processes) immediately a client is detected as having disconnected. |item| |*.[DclCleanupScratchMinutesMax] |/integer|||| |/.(default: 0)|| |^ Whenever the last scripting process is removed from the system, or this number of minutes maximum (whichever occurs first), scan the WASD_SCRATCH directory (if logical defined and it exists) deleting all files that are older than [DclCleanupScratchMinutesOld] minutes. Setting to zero disables WASD_SCRATCH scans. |item| |*.[DclCleanupScratchMinutesOld] |/integer|||| |/.(default: 0)|| |^ When performing a [DclCleanupScratchMinutesMax] scan delete files that are older than this value (or the value specified by [DclCleanupScratchMinutesMax], whichever is the larger). |item| |*.[DclCgiPlusLifeTime] |/hh:mm:ss|||| |/.(default: 0)|| |^ If non-zero the CGIplus process is terminated the specified period after it last processed a request (idle for that period). Adjusting the period to suit the site allows frequently used persistent scripts and scripting engines to remain resident while more sporadically accessed ones do not remain unecessarily. If this value is zero (or unconfigured) the idle timeout is one hour. |item| |*.[DclDetachProcess] |=ENABLED\|DISABLED|||| |/.(default: DISABLED)|| |^ By default scripts are executed within server processes. When enabled this instructs the server to create detached processes. This side-steps the issues of having pooled process quotas and also allows non-server-account scripting and in particular "Scripting Overview, Introduction". |item| |*.[DclDetachProcessPriority] |/integer[,integer]|||| |/.(default: same as server)|| |^ When detached scripting processes are created it is possible to assign them base priorities lower that the server itself. This directive takes one or two (comma-separated) integers that determine how many priorities lower than the server scripting processes are created. The first integer determines server processes. A second, if supplied, determines user scripts. User scripts may never be a higher priority that server scripts. |code| [DclDetachProcessPriority] 1 [DclDetachProcessPriority] 0,1 [DclDetachProcessPriority] 1,2 |!code| The first of these examples would set both server and user script processes one below the server process. The second, server scripts at the same priority and user scripts one below. The last, server scripts one below, and user scripts two below. |item| |*.[DclGatewayBG] |=ENABLED\|DISABLED|||| |/.(default: DISABLED)|| |^ When enabled, non-SSL, process script CGI environments have a CGI variable WWW_GATEWAY_BG created containing the device name (BG|/nnnn||:) of the TCP/IP socket connected to the client. This socket may be accessed by the script for transmission of data directly to the script bypassing the server entirely. This is obviously much more efficient for certain classes of script. For purposes of accurate logging the server does need to be informed of the quantity of data transfered using a CGI callout. See "Scripting Environment" document. |item| |*.[DclHardLimit] |/integer|||| |/.(default: 0)|| |^ The maximum number of DCL/CGI script processing processes that may ever exist concurrently (works in conjunction with [DclSoftLimit]. |item| |*.[DclScriptProctor] |/string|||| |/.(default: none)|| |^ Script proctoring proactively creates and maintains specific persistent scripts and scripting environments (RTEs). It is intended for those environments that have some significant startup latency. |^- See |link%|../scripting/##|WASD Web Services - Scripting|| for further information. |item| |*.[DclScriptRunTime] |/string|||| |/.(default: none)|| |^ One or more file type (extension) specification and scripting verb pairs. See "Scripting Overview, Runtime". |item| |*.[DclSoftLimit] |/integer|||| |/.(default: 0)|| |^ The number of DCL/CGI script processing processes after which idle processes are deleted to make room for new ones. The [DclHardLimit] should be approximately 25% more than the [DclSoftLimit]. The margin exists to allow for occasional slow run-down of deleted/finishing processes. If these limits are not set (i.e. zero) they are calculated with [ProcessMax] using "[DclSoftLimit] = [ProcessMax]" and "[DclHardLimit] = [DclSoftLimit] + [DclSoftLimit] / 4". |item| |*.[DclSpawnAuthPriv] |=ENABLED\|DISABLED|||| |/.(default: DISABLED)|| |^ By default, when a DCL/scripting subprocess is spawned it inherits the server's currently enabled privileges, which are |*none||, not even TMPMBX or NETMBX. If this parameter is enabled the subprocess is created with the server account's SYSUAF-authorized privileges (which should never be other than NETMBX and TMPMBX). Use with caution. |item| |*.[DclZombieLifeTime] |/hh:mm:ss|||| |/.(default: 00:00:00)|| |^ If this value is zero the use of persistant DCL processes is disabled. If non-zero the |/zombie|| process is terminated the specified period after it last processed a request. This helps prevent zombie processes from clogging up a system. See "Scripting Environment" document. |item| |*.[DECnetReuseLifeTime] |/hh:mm:ss|||| |/.(default: 00:00:00)|| |^ Period a DECnet scripting connection is maintained with the network task. Zero disables connection reuse. |item| |*.[DECnetConnectListMax] |/integer|||| |/.(default: 0)|| |^ The size of the list used to manage connections for DECnet scripting. Zero effectively allows the server to use as many DECnet scripting connections as demanded. |item| |*.[DirAccess] |=ENABLED\|DISABLED\|SELECTIVE|||| |/.(default: DISABLED)|| |^ Controls directory listings. |=SELECTIVE|| allows access only to those directories containing a file |=.WWW_BROWSABLE||. The WASD HTTPd directory access facility always ignores directories containing a file named |=.WWW_HIDDEN||. Also see the [DirWildcard] directive. |item| |*.[DirBodyTag] |/string|||| |/.(default:
)|| |^ Specifies the HTML tag for directory listing pages. This allows some measure of site "look-and-feel" in page colour, background, etc. to be employed. |item| |*.[DirDescriptionLines] |/integer|||| |/.(default: 0)|| |^ Non-Zero enables HTML file descriptions during listings. Generating HTML descriptions involves opening each HTML file and searching for