diff options
author | jlam <jlam> | 2000-12-18 00:16:26 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-12-18 00:16:26 +0000 |
commit | 41f14c7974e00d0dc180685db343a83a1ba981b6 (patch) | |
tree | 5567396e222836d08f642ed1aade8f6298ab3769 | |
parent | 99c070f998c79ce4ad9ff6902197d0424d2086f5 (diff) | |
download | pkgsrc-41f14c7974e00d0dc180685db343a83a1ba981b6.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.
-rw-r--r-- | www/thttpd/files/thttpd.conf | 15 |
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 |