1 --- ./src/compat.h.orig Mon Jul 30 13:44:30 2001
2 +++ ./src/compat.h Mon Jul 30 14:16:47 2001
6 #define SOCKADDR sockaddr_storage
7 -#define S_FAMILY __s_family
8 +#define S_FAMILY __ss_family
9 #define SERVER_AF AF_INET6
11 #define SOCKADDR sockaddr_in
12 --- ./src/defines.h.orig Mon Jul 30 13:45:47 2001
13 +++ ./src/defines.h Mon Jul 30 13:46:46 2001
15 /***** Change this, or use -c on the command line to specify it *****/
18 -#define SERVER_ROOT "/etc/boa"
19 +#define SERVER_ROOT "/etc/httpd"
22 /***** Various stuff that you may want to tweak, but probably shouldn't *****/
23 --- ./src/ip.c.org Sat Dec 22 23:29:05 2001
24 +++ ./src/ip.c Sat Dec 22 23:33:04 2001
30 #include <arpa/inet.h> /* inet_ntoa */
32 /* Binds to the existing server_s, based on the configuration string
34 dest, len, NULL, 0, NI_NUMERICHOST)) {
35 fprintf(stderr, "[IPv6] getnameinfo failed\n");
38 - conn->local_ip_addr = strdup(host);
40 #ifdef WHEN_DOES_THIS_APPLY
41 if ((s->__ss_family == AF_INET6) &&
42 --- ./src/request.c.orig Mon Jul 30 13:48:11 2001
43 +++ ./src/request.c Mon Jul 30 13:49:29 2001
45 ascii_sockaddr(&remote_addr, conn->remote_ip_addr, NI_MAXHOST);
47 /* for possible use by CGI programs */
48 + /* the structure doesn't contain port
49 conn->remote_port = ntohs(remote_addr.sin_port);
51 + conn->remote_port = 0;
55 --- ./src/Makefile.in.orig Mon Jul 30 13:52:33 2001
56 +++ ./src/Makefile.in Mon Jul 30 14:11:26 2001
61 -CFLAGS = @CFLAGS@ -I.
62 +#CFLAGS = @CFLAGS@ -I.
65 # Change these if necessary
67 --- ./boa.conf.orig Mon Jul 30 13:49:43 2001
68 +++ ./boa.conf Mon Jul 30 13:52:00 2001
70 # User: The name or UID the server should run as.
71 # Group: The group name or GID the server should run as.
78 # ServerAdmin: The email address where server problems should be sent.
79 # Note: this is not currently used, except as an environment variable
81 # Set to /dev/null if you don't want errors logged.
82 # If unset, defaults to /dev/stderr
84 -ErrorLog /var/log/boa/error_log
85 +ErrorLog /var/log/httpd/error_log
86 # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
87 # is somewhat experimental and might fail under heavy load.
88 # "Usual libc implementations of printf will stall the whole
90 # Comment out or set to /dev/null (less effective) to disable
93 -AccessLog /var/log/boa/access_log
94 +AccessLog /var/log/httpd/access_log
95 # Please NOTE: Sending the logs to a pipe ('|'), as shown below,
96 # is somewhat experimental and might fail under heavy load.
97 # "Usual libc implementations of printf will stall the whole
99 # DocumentRoot: The root directory of the HTML documents.
100 # Comment out to disable server non user files.
102 -DocumentRoot /var/www
103 +DocumentRoot /home/httpd/html
105 # UserDir: The name of the directory which is appended onto a user's home
106 # directory if a ~user request is recieved.
108 # DirectoryIndex are commented out, accessing a directory will give
109 # an error (though accessing files in the directory are still ok).
111 -DirectoryMaker /usr/lib/boa/boa_indexer
112 +DirectoryMaker /usr/sbin/boa_indexer
114 # DirectoryCache: If DirectoryIndex doesn't exist, and DirectoryMaker
115 # has been commented out, the the on-the-fly indexing of Boa can be used
117 # ScriptAlias: Maps a virtual path to a directory for serving scripts
118 # Example: ScriptAlias /htbin/ /www/htbin/
120 -ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
121 +ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/