O'Reilly logo

Linux® Desk Reference, Second Edition by Scott Hawkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commands

The httpd command line options are as follows:

-d serverroot Use this option to specify an initial value for the ServerRoot directive. Note that any conflicts between the value specified on the command line and the value specified in the configuration file will be resolved in favor of the configuration file. The following are the default values:
 OS Type Default ServerRoot
 UNIX/ usr/local/apache
 Windows /apache
 OS/2/ os2httpd
 OS X /Local/Library/Webserver
-D name Use this option to define a name that can later be used in IfDefine directives. IfDefine directives are used to conditionally enable or disable various features.
-f config_file Use this directive to specify a file containing configuration directives. The file may be specified ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required