pkgsrc/www/lhs/patches/patch-ab
agc 4310f377b4 Initial import of lhs-0.1 into the NetBSD Packages Collection.
Provided in PR 17227 by Dawid Szymanski (dawszy@tgr.lubin.edu.pl),
modified slightly by myself.

lhs is a beta version of very simple http server.  Only static files
are supported - CGI, PHP and SSI are not allowed.  However, there is
support for both IPv6 and SSL.  By default it will listen on ports
8000 and 8001 and read files from ${PREFIX}/share/httpd/htdocs and
will not change uid for other unless you use the -u option.
2002-06-18 12:09:25 +00:00

15 lines
347 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2002/06/18 12:09:25 agc Exp $
--- lhs.h 2002/06/18 11:49:31 1.1
+++ lhs.h 2002/06/18 11:50:29
@@ -7,7 +7,10 @@
#define VERSION "lhs/0.1"
+#ifndef DEFAULT_ROOT_DIR
#define DEFAULT_ROOT_DIR "/home/httpd/html"
+#endif
+
#define DEFAULT_HTTP_PORT 8000
#define DEFAULT_HTTPS_PORT 8001
#define DEFAULT_MAX_SOCKS 50