summaryrefslogtreecommitdiff
path: root/main/mini_httpd/mini_httpd.conf.sample
blob: 397a331ad309e14ecc3ea325b51e8ba8fd98987b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
## /etc/mini_httpd.conf
##
## do not leave empty lines in here!
## format is: key=value
##
## run in debug-mode?
#debug
##
## what interface to bind to?
## (default is binding to any interface)
#host=www.example.org
port=80
#port=443
user=nobody
##
## The DOCROOT
dir=/var/www/localhost/htdocs
##
## CGI:
##	?	match a single char
##	*	matches any string excluding "/"
##	**	matches any string including "/"
##	separate multiple patterns with "|"
#cgipat=**.sh|**.cgi
##
## chroot:
chroot
#nochroot
##
logfile=/var/log/mini_httpd.log
##
#charset=iso-8859-1
##
## control the caching: (in secs)
#maxage 60
##
## useless setting (just modifies the http-header)
## (see mini_httpd(8) and http://www.w3.org/P3P/ for more info)
#p3p
##
## virtual hosting:
#vhost
##
## cache-control: send this "max-age" in all HTTP-responses:
#max-age=0
##
## ssl:
#nossl
#ssl
#certfile=/etc/mini_httpd/mini_httpd.pem