version 2, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
apache |
| |
|
2 |
!!!apache |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
OPTIONS |
| |
|
7 |
FILES |
| |
|
8 |
SEE ALSO |
| |
|
9 |
---- |
| |
|
10 |
!!NAME |
| |
|
11 |
|
| |
|
12 |
|
| |
|
13 |
apache - Apache hypertext transfer protocol server |
| |
|
14 |
!!SYNOPSIS |
| |
|
15 |
|
| |
|
16 |
|
| |
|
17 |
__apache__ [[ __-X__ ] [[ __-R__ ''libexecdir'' ] |
| |
|
18 |
[[ __-d__ ''serverroot'' ] [[ __-f__ ''config'' ] |
| |
|
19 |
[[ __-C__ ''directive'' ] [[ __-c__ ''directive'' |
| |
|
20 |
] [[ __-D__ ''parameter'' ] |
| |
|
21 |
|
| |
|
22 |
|
| |
|
23 |
__apache__ [[ __-h__ ] [[ __-l__ ] [[ __-L__ ] [[ |
| |
|
24 |
__-v__ ] [[ __-V__ ] [[ __-S__ ] [[ __-t__ ] [[ |
| |
|
25 |
__-T__ ] |
| |
|
26 |
!!DESCRIPTION |
| |
|
27 |
|
| |
|
28 |
|
| 2 |
perry |
29 |
__apache__ is the Apache !HyperText Transfer Protocol |
| 1 |
perry |
30 |
(HTTP) server program. It is designed to be run as a |
| |
|
31 |
standalone daemon process. When used like this it will |
| |
|
32 |
create a pool of child processes to handle requests. To stop |
| |
|
33 |
it, send a TERM signal to the initial (parent) process. The |
| |
|
34 |
PID of this process is written to a file as given in the |
| |
|
35 |
configuration file. Alternatively __apache__ may be |
| |
|
36 |
invoked by the Internet daemon inetd(8) each time a |
| |
|
37 |
connection to the HTTP service is made. |
| |
|
38 |
|
| |
|
39 |
|
| |
|
40 |
This manual page only lists the command line arguments. For |
| |
|
41 |
details of the directives necessary to configure |
| |
|
42 |
__apache__ see the Apache manual, which is part of the |
| |
|
43 |
Apache distribution or can be found at |
| |
|
44 |
http://httpd.apache.org/. Paths in this manual may not |
| |
|
45 |
reflect those compiled into __apache.__ |
| |
|
46 |
!!OPTIONS |
| |
|
47 |
|
| |
|
48 |
|
| |
|
49 |
__-R__ ''libexecdir'' |
| |
|
50 |
|
| |
|
51 |
|
| |
|
52 |
This option is only available if Apache was built with the |
| |
|
53 |
''SHARED_CORE'' rule enabled which forces the Apache core |
| |
|
54 |
code to be placed into a dynamic shared object (DSO) file. |
| 2 |
perry |
55 |
This file is searched in a hardcoded path under !ServerRoot |
| 1 |
perry |
56 |
per default. Use this option if you want to override |
| |
|
57 |
it. |
| |
|
58 |
|
| |
|
59 |
|
| |
|
60 |
__-d__ ''serverroot'' |
| |
|
61 |
|
| |
|
62 |
|
| 2 |
perry |
63 |
Set the initial value for the !ServerRoot directive to |
| |
|
64 |
''serverroot''. This can be overridden by the !ServerRoot |
| 1 |
perry |
65 |
command in the configuration file. The default is |
| |
|
66 |
__/usr/local/apache__. |
| |
|
67 |
|
| |
|
68 |
|
| |
|
69 |
__-f__ ''config'' |
| |
|
70 |
|
| |
|
71 |
|
| |
|
72 |
Execute the commands in the file ''config'' on startup. |
| |
|
73 |
If ''config'' does not begin with a /, then it is taken |
| 2 |
perry |
74 |
to be a path relative to the !ServerRoot. The default is |
| 1 |
perry |
75 |
__conf/httpd.conf__. |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
__-C__ ''directive'' |
| |
|
79 |
|
| |
|
80 |
|
| |
|
81 |
Process the configuration ''directive'' before reading |
| |
|
82 |
config files. |
| |
|
83 |
|
| |
|
84 |
|
| |
|
85 |
__-c__ ''directive'' |
| |
|
86 |
|
| |
|
87 |
|
| |
|
88 |
Process the configuration ''directive'' after reading |
| |
|
89 |
config files. |
| |
|
90 |
|
| |
|
91 |
|
| |
|
92 |
__-D__ ''parameter'' |
| |
|
93 |
|
| |
|
94 |
|
| |
|
95 |
Sets a configuration ''parameter'' which can be used with |
| |
|
96 |
'' |
| |
|
97 |
|
| |
|
98 |
|
| |
|
99 |
__-h__ Output a short summary of available command line |
| |
|
100 |
options. |
| |
|
101 |
|
| |
|
102 |
|
| |
|
103 |
__-l__ Output a list of modules compiled into the |
| |
|
104 |
server. |
| |
|
105 |
|
| |
|
106 |
|
| |
|
107 |
__-L__ Output a list of directives together with expected |
| |
|
108 |
arguments and places where the directive is |
| |
|
109 |
valid. |
| |
|
110 |
|
| |
|
111 |
|
| |
|
112 |
__-S__ Show the settings as parsed from the config file |
| |
|
113 |
(currently only shows the virtualhost |
| |
|
114 |
settings). |
| |
|
115 |
|
| |
|
116 |
|
| |
|
117 |
__-t__ Run syntax tests for configuration files only. The |
| |
|
118 |
program immediately exits after these syntax parsing with |
| |
|
119 |
either a return code of 0 (Syntax OK) or return code not |
| |
|
120 |
equal to 0 (Syntax Error). |
| |
|
121 |
|
| |
|
122 |
|
| |
|
123 |
__-T__ Same as option __-t__ but does not check the |
| |
|
124 |
configured document roots. |
| |
|
125 |
|
| |
|
126 |
|
| |
|
127 |
__-X__ Run in single-process mode, for internal debugging |
| |
|
128 |
purposes only; the daemon does not detach from the terminal |
| |
|
129 |
or fork any children. Do NOT use this mode to provide |
| |
|
130 |
ordinary web service. |
| |
|
131 |
|
| |
|
132 |
|
| |
|
133 |
__-v__ Print the version of __apache__ , and then |
| |
|
134 |
exit. |
| |
|
135 |
|
| |
|
136 |
|
| |
|
137 |
__-V__ Print the version and build parameters of |
| |
|
138 |
__apache__ , and then exit. |
| |
|
139 |
!!FILES |
| |
|
140 |
|
| |
|
141 |
|
| |
|
142 |
__/etc/apache/httpd.conf |
| |
|
143 |
/etc/apache/srm.conf |
| |
|
144 |
/etc/apache/access.conf |
| |
|
145 |
/etc/apache/mime.types |
| |
|
146 |
/etc/apache/magic |
| |
|
147 |
/var/log/apache/error.log |
| |
|
148 |
/var/log/apache/access.log |
| |
|
149 |
/var/run/apache.pid__ |
| |
|
150 |
!!SEE ALSO |
| |
|
151 |
|
| |
|
152 |
|
| |
|
153 |
inetd(8). |
| |
|
154 |
---- |