# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header$ ## Config file for /etc/init.d/thttpd-adf ## the startup-dir of thttpd-adf is the docroot, so we specify it here ## and the init-script does a "cd" prior to startup: #THTTPD_DOCROOT="/var/www" THTTPD_DOCROOT="/tmp" ## There are 2 ways to configure thttpd-adf: ## 1) specify all params on the cmd-line ## 2) use a config-file (and start with "-C ") ## Note: 1) and 2) can be mixed. ## ## We choose 1) here -- if you have a more complicated setup read ## thttpd-adf(8) for details on 2). THTTPD_OPTS="-p 8080 -u nobody -r -i /var/run/thttpd-adf.pid -l /var/log/thttpd-adf.log" ## to add cgi-support: #THTTPD_OPTS="$THTTPD_OPTS -c **.cgi"