summaryrefslogtreecommitdiffstats
path: root/rules/apache2.in
blob: 3929a4760d6a8d78350a3ab767b95b05ede0a97a (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
# Apache 2 configuration

menuconfig APACHE2
	bool "Apache 2 HTTP Server"
	select EXPAT
	select GLIBC_LIBRT
	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.

config APACHE2_DEFAULTCONFIG
	prompt "install default config file"
	bool
	depends on APACHE2
	default Y
	help
	  This uses a generic configuration file for your apache. There is
	  nothing special in it, so you should check it before using.

config APACHE2_LISTEN
	depends on APACHE2_DEFAULTCONFIG
	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_DEFAULTCONFIG
	string
	default "localhost"
	prompt "SERVERNAME"
	help
	  SERVERNAME entry in httpd.conf

config APACHE2_SERVERADMIN
	depends on APACHE2_DEFAULTCONFIG
	string
	default "foo\@bar"
	prompt "SERVERADMIN"
	help
	  SERVERADMIN entry in httpd.conf

config APACHE2_USER_CONFIG
	depends on APACHE2 && !APACHE2_DEFAULTCONFIG
	string
	prompt "Your own apache configurations file"
	default ""
	help
	  Enter path to your own configuration file that should be
	  used by apache on your target.

comment "Directories"
	depends on APACHE2

config APACHE2_SERVERROOT
	depends on APACHE2
	string
	prompt "serverroot directory"
	default "/usr/share/apache2"
	help
	  This directory defines apache's serverroot where the icons are 
	  located.

config APACHE2_DOCUMENTROOT
	depends on APACHE2
	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
	bool
	default Y
	prompt "install default index.html"
	help
	  Install a demo HTML file, from project/generic/index.html. 

config APACHE2_CONFIGDIR
	depends on APACHE2
	string
	default "/etc/apache2"
	prompt "config directory"
	help
	  Apache's configuration directory (httpd.conf, mime.types etc. are
	  searched here).  

config APACHE2_LOGDIR
	depends on APACHE2
	string
	default "/var/log/apache2"
	prompt "logfile directory"
	help
	  Apache's logfile directory.