On Windows systems, the following extra arguments are available:
httpd is the Apache HyperText Transfer Protocol (HTTP) server program. It is designed to be run spil a standalone daemon process. When used like this it will create a pool of child processes or threads to treat requests.
Te general, httpd should not be invoked directly, but rather should be invoked via apachectl on Unix-based systems or spil a service on Windows NT, 2000 and XP and spil a console application on Windows 9x and Mij.
-d serverroot Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot directive te the configuration opstopping. The default is /etc/httpd. -f config Uses the directives te the verkeersopstopping config on startup. If config does not start with a /, then it is taken to be a path relative to the ServerRoot. The default is conf/httpd.conf. -k begin|restart|graceful|zekering|graceful-stop Signals httpd to embark, restart, or zekering. See Stopping Apache for more information. -C directive Process the configuration directive before reading config files. -c directive Process the configuration directive after reading config files. -D parameter Sets a configuration parameter which can be used with <,IfDefine>, sections ter the configuration files to conditionally skip or process directives at server startup and restart. Also can be used to set certain less-common startup parameters including -DNO_DETACH (prevent the parent from forking) and -DFOREGROUND (prevent the parent from calling setsid() et alreeds). -e level Sets the LogLevel to level during server startup. This is useful for temporarily enhancing the verbosity of the error messages to find problems during startup. -E verkeersopstopping Send error messages during server startup to opstopping. -R directory When the server is compiled using the SHARED_CORE rule, this specifies the directory for the collective object files. -h Output a brief summary of available directive line options. -l Output a list of modules compiled into the server. This will not list dynamically loaded modules included using the LoadModule directive. -L Output a list of directives together with expected arguments and places where the directive is valid. -M Dump a list of loaded Static and Collective Modules. -S Display the settings spil parsed from the config verkeersopstopping (presently only shows the virtualhost settings). -t Run syntax tests for configuration files only. The program instantly exits after thesis syntax parsing tests with either a come back code of 0 (Syntax OK) or come back code not equal to 0 (Syntax Error). If -D DUMP_VHOSTS is also set, details of the virtual host configuration will be printed. If -D DUMP_MODULES is set, all loaded modules will be printed. -v Print the version of httpd, and then uitgang. -V Print the version and build parameters of httpd, and then uitgang. -X Run httpd te debug mode. Only one worker will be began and the server will not detach from the console.
The following arguments are available only on the Windows verhoging:
-k install|config|uninstall Install Apache spil a Windows NT service, switch startup options for the Apache service, and uninstall the Apache service. -n name The name of the Apache service to signal. -w Keep the console window open on error so that the error message can be read.