summaryrefslogtreecommitdiffstats
path: root/rules/apache2.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-11-04 09:26:21 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2005-11-04 09:26:21 +0000
commit99b7f274c3f94cedb3ab04eacc496cd74dba0ca1 (patch)
tree15c2e045e367dfb1159e7279cbaa15c405415997 /rules/apache2.in
parentb682dd768b4e383e740346d2b8da0b515e80257c (diff)
downloadptxdist-99b7f274c3f94cedb3ab04eacc496cd74dba0ca1.tar.gz
ptxdist-99b7f274c3f94cedb3ab04eacc496cd74dba0ca1.tar.xz
more config options
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@3306 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/apache2.in')
-rw-r--r--rules/apache2.in73
1 files changed, 68 insertions, 5 deletions
diff --git a/rules/apache2.in b/rules/apache2.in
index f1f45bcea..72d4dd521 100644
--- a/rules/apache2.in
+++ b/rules/apache2.in
@@ -1,8 +1,71 @@
-menu "Apache 2 HTTP Server"
-
-config APACHE2
- bool
+menuconfig APACHE2
+ bool "Apache 2 HTTP Server"
prompt "Apache 2 HTTP server"
select EXPAT
-endmenu
+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_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.
+