/[gentoo-x86]/www-servers/thttpd/files/thttpd.confd.1
Gentoo

Contents of /www-servers/thttpd/files/thttpd.confd.1

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Aug 8 13:24:57 2012 UTC (5 years, 11 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
Fix THTTPD_DOCROOT

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License, v2 or later
3
4 ## Config file for /etc/init.d/thttpd
5
6 ## the startup-dir of thttpd is the docroot, so we specify it here
7 ## and the init-script does a "cd" prior to startup:
8 THTTPD_DOCROOT="/var/www/localhost"
9
10 ## There are 2 ways to configure thttpd:
11 ## 1) specify all params on the cmd-line
12 ## 2) use a config-file (and start with "-C <conf-file>")
13
14 ## For additional thttpd instances, run:
15 # ln -s /etc/init.d/thttpd /etc/init.d/thttpd.$NAME
16 # cp /etc/conf.d/thttpd /etc/conf.d/thttpd.$NAME
17
18 ## Note: 1) and 2) can be mixed but
19 ## the init-script set PID (option -i) to
20 ## /var/run/thttpd.$NAME.run
21 ## and logfile (option -l) to
22 ## /var/log/thttpd.$NAME.log
23 ##
24 ## We choose 1) here -- if you have a more complicated setup read
25 ## thttpd(8) for details on 2).
26
27 THTTPD_OPTS="-p 80 -u thttpd -r"
28
29 ## For a more complex setup (e.g. cgi-support) use an external configfile:
30 ## comment the THTTPD_OPTS line above und use the one below.
31 #THTTPD_OPTS="-C /etc/thttpd/thttpd.conf"
32
33 ## If you know what you are doing you can add cgi-support with the line below;
34 ## but you _should_ use the extern-configfile version!
35 #THTTPD_OPTS="$THTTPD_OPTS -c **.cgi|**.sh"

  ViewVC Help
Powered by ViewVC 1.1.20