]> git.pld-linux.org Git - packages/boa.git/blob - boa-PLD.patch
fixes
[packages/boa.git] / boa-PLD.patch
1 diff -ur boa-0.93.16.1/examples/boa.conf boa-0.93.16.1.new/examples/boa.conf
2 --- boa-0.93.16.1/examples/boa.conf     Sun Mar 28 15:09:59 1999
3 +++ boa-0.93.16.1.new/examples/boa.conf Fri Jul 16 17:18:24 1999
4 @@ -24,8 +24,8 @@
5  #  User: The name or UID the server should run as.
6  # Group: The group name or GID the server should run as.
7  
8 -User nobody
9 -Group nogroup
10 +User http
11 +Group http
12  
13  # ServerAdmin: The email address where server problems should be sent.
14  # Note: this is not currently used.
15 @@ -36,28 +36,28 @@
16  # with /, it is considered relative to the server root.
17  # Set to /dev/null if you don't want errors logged.
18  
19 -ErrorLog /var/log/boa/error_log
20 +ErrorLog /var/log/httpd/error_log
21  
22  # AccessLog: The location of the access log file. If this does not
23  # start with /, it is considered relative to the server root.
24  # Comment out or set to /dev/null (less effective) to disable 
25  # Access logging.
26  
27 -AccessLog /var/log/boa/access_log
28 +AccessLog /var/log/httpd/access_log
29  
30  # RefererLog: The location of the referer log file. If this does not
31  # start with /, it is considered relative to the server root.
32  # Comment out or set to /dev/null (less effective) to disable
33  # referer logging.
34  
35 -RefererLog /var/log/boa/referer_log
36 +RefererLog /var/log/httpd/referer_log
37  
38  # AgentLog: The location of the agent log file. If this does not
39  # start with /, it is considered relative to the server root.
40  # Comment out or set to /dev/null (less effective) to disable
41  # User-Agent logging.
42  
43 -AgentLog /var/log/boa/agent_log
44 +AgentLog /var/log/httpd/agent_log
45  
46  # VerboseCGILogs: this is just a logical switch.
47  # Comment out to disable.
48 @@ -72,7 +72,7 @@
49  
50  # DocumentRoot: The root directory of the HTML documents.
51  
52 -DocumentRoot /var/www
53 +DocumentRoot /home/boa/htdocs
54  
55  # ChRoot: Boa root '/' directory. This is useful to improve security of
56  # your system. Don't forget that ALL DIRECTORIES used by boa except logs
57 @@ -93,12 +93,12 @@
58  
59  DirectoryIndex index.html
60  
61 -DirectoryMaker /usr/local/sbin/boa_indexer
62 +DirectoryMaker /usr/sbin/boa_indexer
63  
64  # LocalCodepage: Local codepage. This is send to client in 'Content-Type:'
65  # header by default.
66  
67 -#LocalCodepage iso-8859-1
68 +#LocalCodepage iso-8859-2
69  
70  # Codepage: Load codepage conversion table from file. This table will be used
71  # on-the-fly conversion.
72 @@ -161,7 +161,7 @@
73  # ScriptAlias: Maps a virtual path to a directory for serving scripts
74  # Example: ScriptAlias /htbin/ /www/htbin/
75  
76 -ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
77 +ScriptAlias /cgi-bin/ /home/boa/cgi-bin/
78  
79  # VirtualHost: Maps a virtual host to a directory.
80  # Example: VirtualHost cz.boa.org /html/htdocs/boa/
81 diff -ur boa-0.93.16.1/src/defines.h boa-0.93.16.1.new/src/defines.h
82 --- boa-0.93.16.1/src/defines.h Tue Jan  5 23:19:54 1999
83 +++ boa-0.93.16.1.new/src/defines.h     Fri Jul 16 17:07:27 1999
84 @@ -26,7 +26,7 @@
85  /***** Change this, or use -c on the command line to specify it *****/
86  
87  #ifndef SERVER_ROOT
88 -#define SERVER_ROOT "/etc/boa"
89 +#define SERVER_ROOT "/home/boa"
90  #endif
91  
92  /***** Logs *****************************************************************/
93 @@ -41,7 +41,7 @@
94  #define USE_NLS                                                                        1
95  #define USE_NLS_REFERER_REDIR          1
96  #define USE_CHARSET_HEADER             1
97 -#define DEFAULT_CHARSET      "iso-8859-1"
98 +#define DEFAULT_CHARSET      "iso-8859-2"
99  
100  /****** Authorization ******************************************************/
101  
102 diff -ur boa-0.93.16.1/util/resolver.pl boa-0.93.16.1.new/util/resolver.pl
103 --- boa-0.93.16.1/util/resolver.pl      Sun Dec 20 00:46:33 1998
104 +++ boa-0.93.16.1.new/util/resolver.pl  Fri Jul 16 17:08:09 1999
105 @@ -1,10 +1,10 @@
106 -#!/usr/local/bin/perl
107 +#!/usr/bin/perl
108  
109  # IP address resolver for Boa
110  
111  # If you want an "in place" change to the log file,
112  # change the first line to
113 -#!/usr/local/bin/perl -i.bak
114 +#!/usr/bin/perl -i.bak
115  # Otherwise, send the output of this program wherever you want:
116  #  resolver.pl access_log >access_log_resolved
117  
This page took 0.060584 seconds and 4 git commands to generate.