summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www/mini_httpd/files/mini_httpd.conf.sample')
-rw-r--r--net-www/mini_httpd/files/mini_httpd.conf.sample47
1 files changed, 47 insertions, 0 deletions
diff --git a/net-www/mini_httpd/files/mini_httpd.conf.sample b/net-www/mini_httpd/files/mini_httpd.conf.sample
new file mode 100644
index 000000000000..092f7a546b48
--- /dev/null
+++ b/net-www/mini_httpd/files/mini_httpd.conf.sample
@@ -0,0 +1,47 @@
+## /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=8080
+user=nobody
+##
+## 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
+pidfile=/var/run/mini_httpd.pid
+##
+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=/tmp/mini_httpd.pem