GCS Amplitude
GCS Amplitude

apache2ctl - Apache HTTP Server Control Interface

is a front end to the Apache HyperText Transfer Protocol (HTTP) server. It is designed to help the administrator control the functioning of the Apache

script can operate in two modes. First, it can act as a simple front-end to the

command that simply sets any necessary environment variables and then invokes httpd

, passing through any command line arguments. Second, httpdapache2ctl

can act as a SysV init script, taking simple one-word arguments like start

, and translating them into appropriate signals to

If your Apache installation uses non-standard paths, you will need to edit the apache2ctl

binary. You can also specify any necessary httpd

script returns a 0 exit value on success, and >0 if an error occurs. For more details, view the comments in the script.

When acting in pass-through mode, apache2ctl

takes simple, one-word commands, defined below.

Only the SysV init-style options are defined here. Other arguments are defined on the

daemon. Gives an error if it is already running. This is equivalent to apache2ctl -k start

daemon. If the daemon is not running, it is started. This command automatically checks the configuration files as in configtest

before initiating the restart to make sure the daemon doesn't die. This is equivalent to apache2ctl -k restart

. For this to work, you need to have mod_status

enabled on your server and a text-based browser such as lynx

available on your system. The URL used to access the status report can be set by editing the STATUSURL

option, except that the list of requests currently being served is omitted.graceful

daemon. If the daemon is not running, it is started. This differs from a normal restart in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This means that if used in a log rotation script, a substantial delay may be necessary to ensure that the old log files are closed before processing them. This command automatically checks the configuration files as in configtest

daemon. This differs from a normal stop in that currently open connections are not aborted. A side effect is that old log files will not be closed immediately. This is equivalent to apache2ctl -k graceful-stop

or detailed information about the particular syntax error. This is equivalent to apache2ctl -t

.The following option was available in earlier versions but has been removed.

with SSL support, you should edit your configuration file to include the relevant directives and then use the normal apache2ctl start

Modules | Directives | FAQ | Glossary | Sitemap

Apache HTTP Server Version 2.4

Modules

Modules | Directives | FAQ | Glossary | Sitemap

apache2ctl - Apache HTTP Server Control Interface

Available Languages: en | fr | ko | tr

en

Available Languages: en | fr | ko | tr

Apache License, Version 2.0

Copyright 2014 The Apache Software Foundation.Licensed under the Apache License, Version 2.0.