Penguin
Blame: apachectl(8)
EditPageHistoryDiffInfoLikePages
Annotated edit history of apachectl(8) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 apachectl
2 !!!apachectl
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 SEE ALSO
8 ----
9 !!NAME
10
11
12 apachectl - Apache HTTP server control interface
13 !!SYNOPSIS
14
15
16 __apachectl__ ''command'' [[...]
17 !!DESCRIPTION
18
19
2 perry 20 __apachectl__ is a front end to the Apache !HyperText
1 perry 21 Transfer Protocol (HTTP) server. It is designed to help the
22 administrator control the functioning of the Apache
23 __apache__ daemon.
24
25
26 __NOTE:__ If your Apache installation uses non-standard
27 paths, you will need to edit the __apachectl__ script to
28 set the appropriate paths to your PID file and your
29 __apache__ binary. See the comments in the script for
30 details.
31
32
33 The __apachectl__ script returns a 0 exit value on
34 success, and
35 __
36
37
38 Full documentation for Apache is available at
39 __http://httpd.apache.org/__
40 !!OPTIONS
41
42
43 The ''command'' can be any one or more of the following
44 options:
45
46
47 __start__
48
49
50 Start the Apache daemon. Gives an error if it is already
51 running.
52
53
54 __stop__ Stops the Apache daemon.
55
56
57 __restart__
58
59
60 Restarts the Apache daemon by sending it a SIGHUP. If the
61 daemon is not running, it is started. This command
62 automatically checks the configuration files via
63 __configtest__ before initiating the restart to make sure
64 Apache doesn't die.
65
66
67 __fullstatus__
68
69
70 Displays a full status report from __mod_status.__ For
71 this to work, you need to have mod_status enabled on your
72 server and a text-based browser such as ''lynx''
73 available on your system. The URL used to access the status
74 report can be set by editing the __STATUSURL__ variable
75 in the script.
76
77
78 __status__
79
80
81 Displays a brief status report. Similar to the fullstatus
82 option, except that the list of requests currently being
83 served is omitted.
84
85
86 __graceful__
87
88
89 Gracefully restarts the Apache daemon by sending it a
90 SIGUSR1. If the daemon is not running, it is started. This
91 differs from a normal restart in that currently open
92 connections are not aborted. A side effect is that old log
93 files will not be closed immediately. This means that if
94 used in a log rotation script, a substantial delay may be
95 necessary to ensure that the old log files are closed before
96 processing them. This command automatically checks the
97 configuration files via __configtest__ before initiating
98 the restart to make sure Apache doesn't die.
99
100
101 __configtest__
102
103
104 Run a configuration file syntax test. It parses the
105 configuration files and either reports __Syntax Ok__ or
106 detailed information about the particular syntax
107 error.
108
109
110 __help__ Displays a short help message.
111 !!SEE ALSO
112
113
114 __apache(8)__
115 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.