aboutsummaryrefslogtreecommitdiffstats
path: root/www/wn/files/patch-aa
blob: db0b207a34a51127d2d45f86f17f28fdc6a9c05a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
*** Makefile.dist	Thu Jul  6 16:40:36 1995
--- Makefile	Sun Jul 23 02:09:47 1995
***************
*** 7,13 ****
  #
  #	Where to put the programs
  #
! SERVBINDIR  =../bin
  BINDIR  = ../bin
  LIBDIR = ../lib
  
--- 7,13 ----
  #
  #	Where to put the programs
  #
! SERVBINDIR = ../bin
  BINDIR  = ../bin
  LIBDIR = ../lib
  
***************
*** 22,28 ****
  #
  #	Libraries to be included.
  #
! LIBS =
  
  #For Solaris 5.X or SVR4.2 use
  #LIBS = -lsocket -lnsl
--- 22,28 ----
  #
  #	Libraries to be included.
  #
! LIBS = -lcrypt
  
  #For Solaris 5.X or SVR4.2 use
  #LIBS = -lsocket -lnsl
*** config.h.dist	Tue Jul 11 15:55:43 1995
--- config.h	Sun Jul 23 02:28:27 1995
***************
*** 7,13 ****
   ********************************************************/
  
  
! #define SUN_OS4		/* Operating System */
  /*
     Pick one of the following Operating System types which describes
     your system and replace the SUN_OS4 value above
--- 7,13 ----
   ********************************************************/
  
  
! #define FREE_BSD_2		/* Operating System */
  /*
     Pick one of the following Operating System types which describes
     your system and replace the SUN_OS4 value above
***************
*** 30,37 ****
   * Enter the complete path of your root data directory here.
   */
  
! #define WN_LOGFILE  "/usr/local/wnlogs/wn.log"
! #define WN_ERRLOGFILE  "/usr/local/wnlogs/wn.log.err"
  
  /*
   * Full path of the file you want to use for a log file and the
--- 30,37 ----
   * Enter the complete path of your root data directory here.
   */
  
! #define WN_LOGFILE	"/usr/local/wn/wnlogs/run.log"
! #define WN_ERRLOGFILE	"/usr/local/wn/wnlogs/err.log"
  
  /*
   * Full path of the file you want to use for a log file and the
***************
*** 52,58 ****
   */
  
  
! #define MIME_TYPE_FILE  "/usr/local/lib/wn/mime.types"
  /*
   * This file contains information permitting wndex to translate 
   * ascertain the MIME "Content-type" from the suffix of a file name
--- 52,58 ----
   */
  
  
! #define MIME_TYPE_FILE	"/usr/local/etc/wn_mime.types"
  /*
   * This file contains information permitting wndex to translate 
   * ascertain the MIME "Content-type" from the suffix of a file name
***************
*** 77,83 ****
   */
  
  
! /* #define VERBOSELOG */
  /* By default WN uses the Common Log Format used by NCSA and CERN httpd.
   * Uncommenting this will cause additional information to be added to
   * the end of each log line.  In particular the User-Agent and Referrer
--- 77,83 ----
   */
  
  
! #define VERBOSELOG
  /* By default WN uses the Common Log Format used by NCSA and CERN httpd.
   * Uncommenting this will cause additional information to be added to
   * the end of each log line.  In particular the User-Agent and Referrer
***************
*** 111,121 ****
  
  
  #ifndef SOLARIS2
! #define USERID          (65534)
! #define GROUPID         (65534)
  #else
! #define USERID		(60001)		/* uid of nobody under Solaris */
! #define GROUPID		(60001)		/* gid of nobody under Solaris */
  #endif
  /*
   * These are the group and user id you want the server to switch to when
--- 111,121 ----
  
  
  #ifndef SOLARIS2
! #define USERID	(65534)
! #define GROUPID	(65534)
  #else
! #define USERID	(65534)
! #define GROUPID	(65534)
  #endif
  /*
   * These are the group and user id you want the server to switch to when
***************
*** 198,204 ****
  #define TILDE_TABLE	"/path/to/rootdir_table"
  */
  
! /* #define TILDE_USER_PWFILE */
  
  #define TILDE_USER_STRING	"/~"
  /*
--- 198,204 ----
  #define TILDE_TABLE	"/path/to/rootdir_table"
  */
  
! #define TILDE_USER_PWFILE
  
  #define TILDE_USER_STRING	"/~"
  /*
*** config.h.old	Thu Oct 19 21:29:04 1995
--- config.h	Thu Oct 19 21:01:36 1995
***************
*** 380,385 ****
--- 380,386 ----
  
  #if defined(FREE_BSD_2)
  #define BSD_LIKE
+ #define SIGCLD SIGCHLD
  #endif
  
  #if defined(AIX) || defined(IRIX)