userdir web
).
For directory URLs (ends in slash) the server checks for a presentation definition of the implied data type text/file-directory and will invoke the corresponding converter script if found. Note that when a text/file-directory converter is used, the config file's browser rules do not apply (i.e. the converter has it's own configuration file).
The HEAD and GET methods may not be assigned scripts, the PUT script (WWWPOST.COM) may be re-assigned via this rule.
If no welcome directives are defined, the server uses a default list of index.html, index.htmlx for compatibilty with previous releases. Defining a presentation rule for data type text/file-directory will take precedence over any welcome file definitions.
The hostclass counter, when enabled, causes the server to compare the remote client address against each hostmask and increment the counter for the corresponding class. Hostmask is an ip-address or, if DNSLookup is on, domain name. A single asterik may be used to wildcard labels (strings delimited by periods) in the mask.
A mask prefixed with a tilda (~) negates the sense of the test. For a counter to be incremented, at least one non-negated mask must match or none of the negated hosts must match.
When using this feature, the default management host address is changed from 127.0.0.1 (localhost) to the ip-address.
When using this feature, the default management host address is changed from 127.0.0.1 (localhost) to the first ip-address defined.
If rule not present, default is 80 or 3rd command line argument if not null.
The timeout parameter may be specified as an integer number of seconds; hours, minutes, seconds (hh:mm:ss); or the name of an environment variable containing one of those 2 formats.
The count parameter, used only for Keep-alive and ScriptReuse, is an integer value specifying either the maximum number of times a connection is re-used or the number of 'permanent' DECnet connections to keep active.
Note that the total cache size is allocated from heap at server startup and consumes process pagefile quota, a very large cache may result in a decrease in client limit.
The timeout parameter may be specified as an integer number of seconds; hours, minutes, seconds (hh:mm:ss); or the name of an environment variable containing one of those 2 formats.
Note that the proxyscript mapping occurs before any other translation rules and only one proxyscript may be specified.
The pre-processor directive operate on the entire logical line, allowing you to define macros with several rules.
The ident portion of a URL is translated by making a unescaped copy of it in a work area and testing the work area copy against each entry in the tokenized rule list. A rule that matches against the translation in the work area may rewrite the translation (see map rule), subsequent tests for triggering rules will be made against the new translation.
The data from suffix rules is kept in a different data structure optimized for finding highest quality representation supported by a client request.