summaryrefslogtreecommitdiffstats
path: root/rules/apache2.in
blob: b921f6cfe26633ecd8e3000d4de1d5bcbf786086 (plain)
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
## SECTION=networking

menuconfig APACHE2
	tristate
	prompt "apache 2 http server          "
	select APR
	select APR_UTIL
	select HOST_APACHE2
	select LIBC_M
	select LIBC_RT
	select LIBC_DL
	select LIBC_NSL
	select LIBC_CRYPT
	select GCCLIBS_GCC_S
	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.

config APACHE2_INSTALL_CONFIG
	bool
	default y
	prompt "Install httpd.conf"
	help
	  Install a $(PTXCONF_APACHE2_CONFIGDIR)/httpd.conf from a selectable
	  source.

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/projectroot/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.

config APACHE2_STARTSCRIPT
	bool
	default y
	prompt "install /etc/init.d/apache2"

endif