summaryrefslogtreecommitdiff
path: root/www/dhttpd/files/patch-config.hh
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-24 09:17:18 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-24 09:17:18 +0000
commit26a0dc74c248a4f9313e6d9afe38e8698c64c889 (patch)
tree365514065636ec7e33e06328317e1e3e983c7733 /www/dhttpd/files/patch-config.hh
parentupgrade to 0.27 (diff)
add dhttpd 1.02a
Minimal secure webserver. Fast and efficient, no cgi-bin support PR: 39769 Submitted by: Gea-Suan Lin <gslin@Infomath.math.NCTU.edu.tw>
Notes
Notes: svn path=/head/; revision=61873
Diffstat (limited to 'www/dhttpd/files/patch-config.hh')
-rw-r--r--www/dhttpd/files/patch-config.hh24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/dhttpd/files/patch-config.hh b/www/dhttpd/files/patch-config.hh
new file mode 100644
index 000000000000..231b5dfd208a
--- /dev/null
+++ b/www/dhttpd/files/patch-config.hh
@@ -0,0 +1,24 @@
+--- src/config.hh.orig Mon Jun 24 15:21:37 2002
++++ src/config.hh Mon Jun 24 15:23:14 2002
+@@ -1,17 +1,17 @@
+ /* Set this as the user id number you want dhttpd to use when *
+ * starting it as root. You can get this info from /etc/passwd. */
+-#define UID 65534
++#define UID 80
+
+ /* Set this to the proper group id number of UID above. */
+-#define GID 65534
++#define GID 80
+
+ /* Set your default port number. If you aren't running as *
+ * root, you must use a value >= 1024, such as 8080. */
+ #define DEFAULTPORT 80
+
+ /* This is the directory where the web pages are located. */
+-#define WEBDIRPREFIX "/var/www"
++#define WEBDIRPREFIX "%%PREFIX%%/www/data"
+
+ /* This defines the maximum number of child processes (i.e. *
+ * maximum sockets being serviced by dhttpd). */
+-#define MAXCHILDPROC 100
++#define MAXCHILDPROC 2048