aports/main/mini_httpd/mini_httpd.conf.sample
Natanael Copa 5e9ddf38f8 main/mini_httpd: added logrotate script
moved default logfile and pid fiels to /var/{run,log}/mini_httpd/

fixes #80
2009-09-03 17:31:40 +00:00

53 lines
1.0 KiB
Plaintext

## /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
##
## The init.d script will override logfile here, so you need to set the
## MINI_HTTPD_OPTS in /etc/conf.d/ in order to enable the logfile option here
#logfile=/var/log/mini_httpd/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