These vhttpd.conf config file settings affect files used by the vhttpd server, such as where transactions are logged.
DocumentRoot,
the logs files, etc. are in subdirectories of this by default.
Environment variables may be referenced in the path with $,
and home directories with (tilde)ServerRoot may be set to
%INSTALLDIR% (the default) for the Texis installation
directory.
DocumentRoot
directory. ServerRoot-relative.
ServerRoot-relative. This allows Vortex scripts to be
stored in a location other than the server's document tree,
e.g. for security or permission reasons. Added in version
4.00.1017300000 20020327.
In version 5 and later, ScriptRoot can also be set to the
special value "%DOCUMENT_ROOT%" (no prefixes/suffixes) to
use the current document root as the script root. This may be for
back compatibility with a version 4 installation.
ServerRoot-relative. Also
sets %LOGDIR%. TransferLog, ErrorLog,
VortexLog
are placed in here by default. If these are files
with no dirs (the default), then a parallel web server can be set
up with identical configuration, but logging elsewhere, by just
giving a new -logdir on the command line. This eases
setting up a quick test server - without mucking up the live
server's logs, or having to write a new vhttpd.conf file.
Note that log file locations can be overridden per-transaction
in directly-run Vortex scripts, via <vxcp> (here),
if the AllowLogFileOverride setting is true (the default);
see here.
ServerRoot-relative. Added in version 8.
LogFormat. Depending on LogFormat and/or
LogOptions settings, the User-Agent and Referer
may be logged with each entry as well. If TransferLog is a
file (no dir in its value), it is placed in LogDir. If a
dir is given in the TransferLog path, it is then
ServerRoot-relative.
Note that log file locations can be overridden per-transaction
in directly-run Vortex scripts, via <vxcp> (here),
if the AllowLogFileOverride setting is true (the default);
see here.
option can be one of:
Referer to log Referer in the transfer log.UserAgent to log User-Agent in the transfer log.Combined to log both User-Agent and Referer
in the transfer log.pid to log the server subprocess PID.utime, stime,
rtime, maxrss, ixrss, idrss,
isrss, minflt, nswap, inblock,
oublock, msgsnd, msgrcv, nsignals,
nvcsw, nivcsw; printed in orderLabel Label the getrusage() valuesNoLocal Do not label the getrusage() values (default)
LogFormat, if specified, overrides LogOptions.
LogOption LogFormat directive, with some codes added and some Apache
codes unimplemented. See the Texis Monitor web server setting
[Httpd] Log Format for details. Added in
version 7.01.1384230000 20131111.
VortexLog. If ErrorLog is a file (no dir in its
value), it is placed in LogDir. If a dir is given in the
ErrorLog path, it is then ServerRoot-relative.
Note that log file locations can be overridden per-transaction
in directly-run Vortex scripts, via <vxcp> (here),
if the AllowLogFileOverride setting is true (the default);
see here.
VortexPath) scripts are logged here. Overrides
texis.ini value, if any (here). Note
that general non-Vortex server errors are logged to the
ErrorLog instead. (This config setting also does not
affect where Vortex errors are logged for CGI-run Vortex
scripts, which are run by the Vortex executable texis,
e.g. under Apache or the Monitor Web Server.
That is only controlled by the texis.ini setting.)
If VortexLog is a file (no dir in its value), it is placed
in LogDir. If a relative dir is given in the
VortexLog path, it is then ServerRoot-relative.
Note that log file locations can be overridden per-transaction in
directly-run (i.e. via VortexPath) Vortex scripts, via
<vxcp> (here), if the AllowLogFileOverride setting is true (the default); see
here.
PidFile is a file (no dir in its value), it is placed in
RunDir (version 8 and later) or LogDir (version 7
and earlier).
If PidFile path contains a relative dir, it is then
ServerRoot-relative.
mime/type ext [ext ...]where mime/type is a MIME Content-Type and ext is one or more filename extensions (no dot) to associate with the MIME type. This list is used to assign Content-Types for file downloads, based on the outermost file extension. It also sets the Content-Types for built-in
VortexPath scripts,
overriding the default list. The AddType config setting
can also modify the MIME type list. TypesConfig is
ServerRoot-relative.
If the file is missing, a default list is used, based on the default
list for AllowExt. Extensions are case-insensitive.
Added in version 3.0.949000000 20000127.
mime/encoding ext [ext ...]where mime/encoding is a MIME Content-Encoding and ext is one or more filename extensions (no dot) to associate with the encoding. This list is used to assign one or more Content-Encodings for each file download, based on non-outermost file extensions. The
AddEncoding config
setting can also modify this list. EncodingsConfig is
ServerRoot-relative. If the file is missing, a default
list for the extensions gz, uu, and Z is
used. Extensions are case-insensitive. Added in version
3.0.949000000 20000127.