Package: thttpd
Version: 2.25b-3
According to the documentation there is a symlinkcheck and nosymlinkcheck
configuration option that may be used in thttpd.conf. According to the source
code this is not the case. The attached patch fixes the documentation to
conform to the source code configuration options symlinks and nosymlinks.
Naturally this may be included in Debians thttpd package under the license used.
/ Sebastian
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces.
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
diff -Nruw thttpd-2.25b-3/debian/config/thttpd.conf thttpd-2.25b-3.patched/debian/config/thttpd.conf
--- thttpd-2.25b-3/debian/config/thttpd.conf 2007-12-01 13:28:10.000000000 +0100
+++ thttpd-2.25b-3.patched/debian/config/thttpd.conf 2007-12-01 13:58:52.000000000 +0100
@@ -24,12 +24,12 @@
# Don't do explicit symbolic link checking. Normally, thttpd explicitly expands
# any symbolic links in filenames, to check that the resulting path stays within# the original document tree. If you want to turn off this check and save some
-# CPU time, you can use the nosymlinkcheck option, however this is not
+# CPU time, you can use the nosymlinks option, however this is not
# recommended. Note, though, that if you are using the chroot option, the
# symlink checking is unnecessary and is turned off, so the safe way to save
# those CPU cycles is to use chroot.
-#symlinkcheck
-#nosymlinkcheck
+#symlinks
+#nosymlinks
# Do el-cheapo virtual hosting. If vhost is the compiled-in default (not the
# case on Debian), then novhost disables it. See thttpd(8) for details.
diff -Nruw thttpd-2.25b-3/thttpd.8 thttpd-2.25b-3.patched/thttpd.8
--- thttpd-2.25b-3/thttpd.8 2005-06-29 19:50:56.000000000 +0200
+++ thttpd-2.25b-3.patched/thttpd.8 2007-12-01 13:58:07.000000000 +0100
@@ -90,7 +90,7 @@
Note, though, that if you are using the chroot option, the symlink
checking is unnecessary and is turned off, so the safe way to save
those CPU cycles is to use chroot.
-The config-file option names for this flag are "symlinkcheck" and "nosymlinkcheck".
+The config-file option names for this flag are "symlinks" and "nosymlinks".
.TP
.B -v
Do el-cheapo virtual hosting.