Next: Logging directives
Up: General configuration directives
Previous: CERN server directives
The following directives are only recognized in the NCSA server
configuration file:
ServerType { inetd | standalone } (standalone)
The method by which the server is invoked. If the server is run
from the inetd program you should specify:
ServerType inetd
There is no direct CERN equivalent. The CERN server determines its
mode by the presence or absence of the Port directive.
ServerName name (determined automatically)
The host-name of the computer system on which the server is running.
Usually this directive is not necessary as the server can find out
the host-name by making a system call.
ServerName www.organization.domain
Equivalent to the CERN HostName directive.
Port portno (80)
The port number on which the server should listen for requests.
Port 8080
Equivalent to the CERN Port directive.
ServerRoot dir-name (/usr/local/etc/httpd)
The path of the directory in which the server should look for
subdirectories containing configuration and log files.
ServerRoot /usr/local/etc/ncsa_httpd
.
Note that this is not the same as the CERN ServerRoot directive.
PidFile filename (ServerRoot/logs/httpd.pid)
The name of the
file to which the server logs its process ID. The filename can be
either an absolute path or relative to the ServerRoot
directory.
PidFile /tmp/ncsa_httpd.pid
Equivalent to the CERN PidFile directive.
TimeOut secs (1,200 seconds, i.e. 20 minutes)
The time allowed for a client to send a request after an incoming
connection is accepted and for the information to be accepted by the
client.
TimeOut 600
Equivalent to the CERN InputTimeout, OutputTimeout and
ScriptTimeout directives.
User { user-name | #userid } (#-1)
The login name, or numeric user ID preceded by a hash sign, under
which the server will answer requests.
User #-2
Equivalent to the CERN UserID directive.
Group { group-name | #group-id } (#-1)
The group name (from the /etc/group file), or numeric
group ID preceded by a hash sign, under which the server will answer
requests.
Group WWW
Equivalent to the CERN GroupID directive.
ServerAdmin name (no default)
An electronic mail contact address included in error responses.
ServerAdmin [email protected]
There is no equivalent CERN directive.
IdentityCheck { on | off } (off)
If enabled the server will contact the ident daemon on the
system from which the request originated to determine the user name
associated with the process issuing the request. This information
is then included in log messages. The information cannot be relied
upon as being valid: many systems do not run an ident daemon
and obtaining the information consumes resources, so it is generally
recommended that this option be left disabled.
Equivalent to the CERN IdentityCheck directive.
AccessConfig file (ServerRoot/conf/access.conf)
The filename of the access configuration file. The filename can
be either an absolute path or relative to the ServerRoot
directory.
There is no equivalent CERN directive.
ResourceConfig file (ServerRoot/conf/srm.conf)
The filename of the resource configuration file. The filename can
be either an absolute path or relative to the ServerRoot
directory.
There is no equivalent CERN directive.
TypesConfig file (ServerRoot/conf/mime.types)
The filename of the types configuration file. The filename can
be either an absolute path or relative to the ServerRoot
directory.
prespace
There is no equivalent CERN directive.
The following directive is a resource configuration directive and is
only recognized in the resource configuration file.
DocumentRoot dir (/usr/local/etc/httpd)
The absolute path of the directory that the server uses as the root
of the data hierarchy.
DocumentRoot /usr/public/www
Equivalent to the CERN ServerRoot directive.
Next: Logging directives
Up: General configuration directives
Previous: CERN server directives
Spinning the Web by Andrew Ford
© 1995 International Thomson Publishing
© 2002 Andrew Ford and Ford & Mason Ltd
Note: this HTML document was generated in December 1994 directly from the
LaTeX source files using LaTeX2HTML. It was formatted into our standard page layout
using the Template Toolkit. The document is mainly of historical
interest as obviously many of the sites mentioned have long since
disappeared.
|