4310f377b4
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.
13 lines
601 B
Text
13 lines
601 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2002/06/18 12:09:25 agc Exp $
|
|
|
|
--- lhs.c 2002/06/18 11:54:40 1.1
|
|
+++ lhs.c 2002/06/18 11:54:05
|
|
@@ -592,7 +592,7 @@
|
|
" -s version set SSL protocol version (default: SSLv2)\n"
|
|
" -c filename load certificate file (default: lhs.pem)\n"
|
|
#endif
|
|
-" -r path set server's root directory (default: /home/httpd/html)\n"
|
|
+" -r path set server's root directory (default: " DEFAULT_ROOT_DIR ")\n"
|
|
" -u user switch to other user after startup\n"
|
|
" -g group change gid to other than user's\n"
|
|
" -m socks set number of sockets (default: 50, min: 3)\n"
|