summaryrefslogtreecommitdiff
path: root/www/thttpd
diff options
context:
space:
mode:
authorjlam <jlam>2000-12-18 00:16:26 +0000
committerjlam <jlam>2000-12-18 00:16:26 +0000
commitb4d68a6e9a05f547b7debfb41e303d045091363e (patch)
tree5567396e222836d08f642ed1aade8f6298ab3769 /www/thttpd
parent18da6842e0ff133069ee3db328bd5afa04b40734 (diff)
downloadpkgsrc-b4d68a6e9a05f547b7debfb41e303d045091363e.tar.gz
Make this default file more useful with regard to accepting URIs to
CGI programs. Also add a comment about syntax of this file.
Diffstat (limited to 'www/thttpd')
-rw-r--r--www/thttpd/files/thttpd.conf15
1 files changed, 11 insertions, 4 deletions
diff --git a/www/thttpd/files/thttpd.conf b/www/thttpd/files/thttpd.conf
index cea54994517..c86c998883a 100644
--- a/www/thttpd/files/thttpd.conf
+++ b/www/thttpd/files/thttpd.conf
@@ -1,8 +1,15 @@
-# $NetBSD: thttpd.conf,v 1.4 2000/08/06 02:51:59 jlam Exp $
+# $NetBSD: thttpd.conf,v 1.5 2000/12/18 00:16:26 jlam Exp $
#
-# thttpd configuration file
+# thttpd (tiny/turbo/throttling HTTP server) configuration file
#
-dir=@PREFIX@/share/thttpd # root directory of the web site
-cgipat=*.cgi
+# Blank lines are prohibitted in this file.
+#
+# Root directory of the web site.
+dir=@PREFIX@/share/thttpd
+#
+# CGI programs end in ".cgi" or are at the /cgi-bin URI.
+cgipat=**.cgi|/cgi-bin/*
+#
+# Locations of logfile and pidfile.
logfile=/var/log/thttpd.log
pidfile=/var/run/thttpd.pid