1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
|
# Apache 2 configuration
menuconfig APACHE2
tristate
prompt "apache 2 http server "
select EXPAT
select LIBC_RT
select HOST_APACHE2
help
Apache v2 is the next generation of the Apache web server.
This version - a total rewrite - introduces many new
improvements, such as threading, a new API, IPv6 support,
request/response filtering, and more.
if APACHE2
comment "build options ---"
choice
prompt "Multi Process Model"
config APACHE2_MPM_PREFORK
bool "prefork"
help
Multi Process Model with preforking (Apache 1.3)
config APACHE2_MPM_PERCHILD
bool "perchild"
help
Multi Process Model with threading.
Constant number of processes, variable number of threads,
each child process can have a different uid/gid.
config APACHE2_MPM_WORKER
bool "worker"
help
Multi Process model with threads.
One acceptor thread, multiple worker threads.
endchoice
comment "runtime options ---"
config APACHE2_SERVERROOT
string
prompt "ServerRoot directory"
default "/usr/share/apache2"
help
This directory defines apache's serverroot where the icons are
located.
menuconfig ROOTFS_ETC_INITD_HTTPD
tristate
default y
prompt "install startup script "
help
The /etc/init.d/httpd script lets you control the apache daemon.
choice
prompt "Kind of startup script"
depends on ROOTFS_ETC_INITD_HTTPD
default ROOTFS_ETC_INITD_HTTPD_DEFAULT
config ROOTFS_ETC_INITD_HTTPD_DEFAULT
bool
prompt "Use generic"
help
Install a generic /etc/init.d/httpd file.
See <ptxdist-install>/generic/etc/init.d/httpd
config ROOTFS_ETC_INITD_HTTPD_USER
bool
prompt "User defined"
help
This uses a user defined httpd startup script. PTXdist
uses file projectroot/etc/init.d/httpd in your local
project
endchoice
config APACHE2_INSTALL_CONFIG
bool
default y
prompt "Install httpd.conf"
help
Install a $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf from a selectable
source.
choice
prompt "Kind of httpd.conf"
depends on APACHE2_INSTALL_CONFIG
default APACHE2_DEFAULTCONFIG
config APACHE2_DEFAULTCONFIG
bool
prompt "Use generic"
help
Install a generic httpd.conf file.
See <ptxdist-install>/generic/etc/apache2/httpd.conf
config APACHE2_USERCONFIG
bool
prompt "User defined"
help
This uses a user defined httpd.conf file.
PTXdist uses file projectroot/httpd.conf in your
local project
endchoice
config APACHE2_LISTEN
depends on APACHE2_INSTALL_CONFIG
string
default "0.0.0.0:80"
prompt "LISTEN"
help
LISTEN entry in httpd.conf; this entry must contain a server
name or IP and a port, for example "0.0.0.0:80" to listen
on all interfaces.
config APACHE2_SERVERNAME
depends on APACHE2_INSTALL_CONFIG
string
default "localhost"
prompt "SERVERNAME"
help
SERVERNAME entry in httpd.conf
config APACHE2_SERVERADMIN
depends on APACHE2_INSTALL_CONFIG
string
default "foo\@bar"
prompt "SERVERADMIN"
help
SERVERADMIN entry in httpd.conf
comment "Directories ---"
config APACHE2_CONFIGDIR
string
default "/etc/apache2"
prompt "Config directory"
help
Apache's configuration directory (httpd.conf, mime.types etc. are
searched here).
config APACHE2_LOGDIR
string
default "/var/log/apache2"
prompt "Logfile directory"
help
Apache's logfile directory.
config APACHE2_DOCUMENTROOT
string
default "/var/www"
prompt "DocumentRoot directory"
help
Apache's docroot is very empty if you don't add some
files. Later you can connect to your target, but you
will see nothing special (only an very small html page
is provided).
config APACHE2_DEFAULT_INDEX
depends on APACHE2_DOCUMENTROOT != ""
bool
default y
prompt "Default index.html"
help
Install a demo HTML file, from project/generic/var/www/index.html.
comment "Misc ---"
config APACHE2_PUBLICDOMAINICONS
bool "Public Domain Icons"
depends on APACHE2_SERVERROOT != ""
default y
help
These icons were originally made for Mosaic for X and have been
included in the NCSA httpd and Apache server distributions in the
past. They are in the public domain and may be freely included in
any application. The originals were done by Kevin Hughes
(kevinh@kevcom.com).
config APACHE2_CUSTOMERRORS
bool "Multi Language Custom Error Documents"
depends on APACHE2_SERVERROOT != ""
default y
help
Install HTTP error messages in multiple languages. If the preferred
language of a client is available it is selected automatically via
the MultiViews feature. This feature is enabled by default via the
Options, Language and ErrorDocument directives.
comment "----------------------------------"
comment "Apache 2 Modules"
comment "----------------------------------"
endif
source "rules/apache2_mod_python.in"
|