These vhttpd.conf settings control various operating-system options or resource limits.
user
to access files and run scripts/programs as.
It is important that this be a non-root user to help prevent
security violations such as reading protected files, etc., as the
web server generally must be started as root (to bind to port 80).
This should be the same low-permissions user that Texis was
installed as, so databases can be accessed by Vortex URLs.
In versions after 5.01.1170498000 20070203, the default is
the special token %TEXISOWNER%
, which means the owner
of the texis executable in the install directory.
This avoids the need to separately configure the User
after setting the proper owner of Texis files at installation.
%TEXISOWNER%
will not allow the user to be root,
if that is the texis owner for some reason.
In previous versions, %TEXISOWNER%
was not supported,
and the default user was nobody.
User
's group group
to access files and run scripts/programs as.
$SERVER_NAME
environment variable to CGI and Vortex scripts.
Listen
may be given
multiple times to listen on multiple ports and/or addresses.
Added in version 8.
Note: this setting is deprecated and will become unsupported
in a future release. Use Listen
instead, which overrides
BindAddress
and Port
.
Local address or hostname to listen for web requests on.
There is no default in version 8 and later;
the Listen
default applies instead.
Note: this setting is deprecated and will become unsupported
in a future release. Use Listen
instead, which overrides
BindAddress
and Port
.
TCP port number
to listen on. There is no default in
version 8 and later; the Listen
default applies instead.
num
simultaneous connections (clients) to the
server. When the limit is exceeded, an error will be noted in the
log, and further connections will be ignored until some current
connection(s) are completed.
The MaxClients
setting allows a server to deal with an
overload from too many connections in a controllable manner.
Instead of allowing ever more connections and slowing further,
possibly taking the machine down, it waits for resources to become
available. A
proper value for a given configuration depends on numerous
factors, such as the load from individual scripts, available RAM,
the hardware, OS etc. It is generally determined from
experimentation. Too low a value will unnecessarily delay clients
and show errors in the log. Too high a value may not allow the
server to recover from a heavy load or a malicious client.
num
total header bytes - request line plus
request headers - from a client request. Exceeding this limit
will log an error and return a 413 (Request Entity Too Large)
error to the client. Added in version 7.00.1373329000 20130708.
This limit is to help prevent broken or malicious clients from
consuming too many server resources.
VortexPath
environments. Typically used to pass
things like LD_LIBRARY_PATH for CGIs using shared
libraries, since the default CGI environment is restricted. Use
caution to avoid passing secure information to insecure scripts.
Added in version 3.0.948500000 20000121.
VortexPath
) scripts. Use caution not
to pass secure information to insecure scripts, or overwrite
standard CGI variables like PATH_INFO. Added in version
3.0.948500000 20000121.
VortexPath
. Use caution not to delete standard CGI
variables like PATH_INFO. Added in version 3.0.948500000 20000121.