initial commit: 1.5.0
[systemrescuecd.git] / portage-overlay / www-servers / thttpd / files / thttpd-2.25 / thttpd.confd
1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/thttpd/files/thttpd-2.25/thttpd.confd,v 1.1 2004/08/08 18:34:03 stuart Exp $
4
5 ## Config file for /etc/init.d/thttpd
6
7 ## the startup-dir of thttpd is the docroot, so we specify it here
8 ## and the init-script does a "cd" prior to startup:
9 THTTPD_DOCROOT="/var/www/localhost"
10
11 ## There are 2 ways to configure thttpd:
12 ##      1) specify all params on the cmd-line
13 ##      2) use a config-file (and start with "-C <conf-file>")
14 ## Note: 1) and 2) can be mixed.
15 ##
16 ## We choose 1) here -- if you have a more complicated setup read
17 ## thttpd(8) for details on 2).
18
19 THTTPD_OPTS="-p 8080 -u nobody -r -i /var/run/thttpd.pid -l /var/log/thttpd.log"
20
21 ## For a more complex setup (e.g. cgi-support) use an external configfile:
22 ## comment the THTTPD_OPTS line above und use the one below.
23 #THTTPD_OPTS="-C /etc/thttpd/thttpd.conf"
24
25 ## If you know what you are doing you can add cgi-support with the line below;
26 ## but you _should_ use the extern-configfile version!
27 #THTTPD_OPTS="$THTTPD_OPTS -c **.cgi|**.sh"