Ford & Mason Ltd
HOME
ABOUT
CONTACT
RESOURCES
ADVERTISING



donations support the development of
cronolog.org
and
refcards.com

next up previous contents index
Next: NCSA server Up: Command line arguments Previous: Command line arguments


CERN server

The CERN server command line does not require any options or arguments if all configuration details are included in the configuration file and that file is in the standard location (/etc/httpd.conf). If you keep the configuration file elsewhere you will need to specify that location. The syntax of the CERN server command line is:

  httpd [-option ...] [directory]

The directory argument specifies the path of the directory at the top of the Web directory hierarchy. Alternatively, this directory can be specified by the ServerRoot configuration directive. If it is not specified at all, the default of /Public is used.

The following command line options are supported:

-r rule-file
The configuration file to be used.

-p port
The port number on which to listen for requests.

-l logfile
Use logfile as the access log.

-restart
Restart an already running server.

-gc_only
Perform garbage collection and exit.

-v
Print debugging messages to the standard error stream (verbose).

-vv
Print even more debugging messages to the standard error stream (very verbose).

-version
Print the version of the server and the version of the Common Library used in the server, and then exit.

-d[x][y]
Specifies directory listing generation options.

x controls whether generation is enabled, and can be one of: y (enabled), n (disabled) or s (selective - enabled only for directories containing a file .www-browsable).

y controls the inclusion of README file contents in generated directory listings, and can be one of: t (include at top), b (include at bottom) or r (feature disabled).


next up previous contents index
Next: NCSA server Up: Command line arguments Previous: Command line arguments

[ITCP]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.

 
Copyright © 1996-2002 Ford & Mason Ltd