summaryrefslogtreecommitdiff
path: root/www/thttpd
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-12-18 00:16:26 +0000
committerjlam <jlam@pkgsrc.org>2000-12-18 00:16:26 +0000
commit714d2c98a141ac21eaeda810a0d19252b2026ec2 (patch)
tree5567396e222836d08f642ed1aade8f6298ab3769 /www/thttpd
parent54fcb197a2e301d4fed5ef51962c3ce1a1f6ddc4 (diff)
downloadpkgsrc-714d2c98a141ac21eaeda810a0d19252b2026ec2.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