openbsd-ports/www/sthttpd/patches/patch-src_thttpd_h
brad 8d8efa11b0 sthttpd is a simple, small, fast, and secure HTTP server. It doesn't have
a lot of special features, but it suffices for most uses of the web,
it's about as fast as the best full-featured servers (Apache, NCSA,
Netscape), and it has one extremely useful feature (URL-traffic-based
throttling) that no other server currently has.

ok sthen@
2013-08-10 02:48:26 +00:00

13 lines
512 B
Plaintext

$OpenBSD: patch-src_thttpd_h,v 1.1.1.1 2013/08/10 02:48:26 brad Exp $
--- src/thttpd.h.orig Sun Aug 5 04:59:29 2012
+++ src/thttpd.h Sun Aug 5 04:59:46 2012
@@ -237,7 +237,7 @@
** initializing. If this user (or the one specified by the -u flag) does
** not exist, the program will refuse to run.
*/
-#define DEFAULT_USER "nobody"
+#define DEFAULT_USER "www"
/* CONFIGURE: When started as root, the program can automatically chdir()
** to the home directory of the user specified by -u or DEFAULT_USER.