summaryrefslogtreecommitdiff
blob: 16a669ac05baf57edd36829d6b71b0e02445b229 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-www/mini_httpd/files/mini_httpd.confd-1.18,v 1.1 2003/11/02 15:39:48 mholzer Exp $

## Config file for /etc/init.d/mini_httpd

## the startup-dir of mini_httpd is the docroot, so we specify it here
## and the init-script does a "cd" prior to startup:
#MINI_HTTPD_DOCROOT="/var/www/localhost"

## There are 2 ways to configure mini_httpd:
##	1) specify all params on the cmd-line
##	2) use a config-file (and start with "-C <conf-file>")
## Note: 1) and 2) can be mixed.
##
## We choose 1) here -- if you have a more complicated setup read
## mini_httpd(8) for details on 2).

MINI_HTTPD_OPTS="-p 8080 -u nobody -r -i /var/run/mini_httpd.pid -l /var/log/mini_httpd.log"

## to add cgi-support you should switch over to a config-file, a sample can
## be found in your DOCDESTTREE (/usr/share/doc/mini_httpd-xxxx) named
##     mini_httpd.conf.sample.gz
## copy the sample to /etc/mini_httpd.conf and replace the MINI_HTTPD_OPTS-line
## above by:
##MINI_HTTPD_OPTS="-C /etc/mini_httpd.conf"
## poor-mans cgi-pattern (only use if you know what you are doing -- you have been warned)
#MINI_HTTPD_OPTS="$MINI_HTTPD_OPS -c **.cgi|**.sh"