1 diff -urN analog-5.22/anlgform.html analog-5.22.new/anlgform.html
2 --- analog-5.22/anlgform.html Wed Mar 20 10:38:41 2002
3 +++ analog-5.22.new/anlgform.html Fri Apr 5 12:38:44 2002
8 -<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
9 +<h1><img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
11 <!-- Make the edits below. You also need to edit anlgform.pl. -->
15 <!-- Many systems will want the IMAGEDIR to be different on the form -->
16 <!-- than from the command line, because it should not be within /cgi-bin/ -->
17 -<!-- input type=hidden name="IMAGEDIR" value="/images/" -->
18 +<!-- input type=hidden name="IMAGEDIR" value="/icons/" -->
20 <!-- Some users will want to set their logfile like this. -->
21 <!-- input type=hidden name="LOGFILE" value="/usr/local/etc/httpd/logs/access_log" -->
22 +<!-- input type=hidden name="LOGFILE" value="/usr/var/httpd/log/access_log" -->
25 <!-- After you've made these edits, you can remove the "strong" lines below -->
27 diff -urN analog-5.22/anlgform.pl analog-5.22.new/anlgform.pl
28 --- analog-5.22/anlgform.pl Wed Mar 20 10:38:41 2002
29 +++ analog-5.22.new/anlgform.pl Fri Apr 5 12:39:39 2002
31 # of Perl (don't remove the #! though).
32 # 3) You also need to edit anlgform.html if you want to use the form.
33 # 4) Add to the forbidden commands below if you want.
34 +$analog='/usr/bin/analog'
36 @forbidden = qw(LOGFORMAT APACHELOGFORMAT DEFAULTLOGFORMAT
37 APACHEDEFAULTLOGFORMAT HEADERFILE FOOTERFILE UNCOMPRESS
38 Binary files analog-5.22/src/alias.o and analog-5.22.new/src/alias.o differ
39 Binary files analog-5.22/src/analog.o and analog-5.22.new/src/analog.o differ
40 diff -urN analog-5.22/src/anlghea2.h analog-5.22.new/src/anlghea2.h
41 --- analog-5.22/src/anlghea2.h Wed Mar 20 10:38:51 2002
42 +++ analog-5.22.new/src/anlghea2.h Fri Apr 5 12:40:33 2002
47 -#define DNSFILE "dnscache"
48 +#define DNSFILE "/var/lib/analog/dnscache"
49 /* where to store resolved addresses so we don't have to look them up next
52 -#define DNSLOCKFILE "dnslock"
53 +#define DNSLOCKFILE "/var/lock/dnslock"
55 /* A lock file to stop two processes trying to write the DNSFILE at once */
57 #define DNS (DNS_NONE)
58 diff -urN analog-5.22/src/anlghead.h analog-5.22.new/src/anlghead.h
59 --- analog-5.22/src/anlghead.h Wed Mar 20 10:38:52 2002
60 +++ analog-5.22.new/src/anlghead.h Fri Apr 5 12:42:55 2002
65 -#define HOSTNAME "[my organisation]"
66 +#define HOSTNAME "[PLD Linux Server]"
67 /* The name of your organisation or web server. This is used for printing
68 at the top of the output. */
72 -#define HOSTURL "none"
74 /* The URL of your host's home page, for linking to at the top of the
75 output; use "none" for no linking. */
79 -#define LOGFILE "logfile.log"
80 +#define LOGFILE "/var/log/httpd/access_log"
81 /* The name of the default logfile. Can be a list, separated by commas
82 (but no spaces), and can include wild cards. */
86 -#define OUTFILE "stdout"
87 +#define OUTFILE "/home/services/httpd/html/usage/analog.html"
89 /* The default file for output. Use "stdout" for stdout. */
93 -#define IMAGEDIR "images/"
94 +#define IMAGEDIR "/icons/"
95 /* URL of the directory where the images for the graphical reports live.
96 The URL can be absolute, or relative to the output page: e.g., just the
97 empty string "" for the same directory as the output page. */
101 #ifndef DEFAULTCONFIGFILE
102 -#define DEFAULTCONFIGFILE "analog.cfg"
103 +#define DEFAULTCONFIGFILE "/etc/analog.cfg"
104 /* The name of the default configuration file. */
108 directory. This may or may not work, so it's better to specify a location
109 explicitly here if you know where the files will be kept. */
111 -#define LANGDIR NULL
112 +#define LANGDIR "/usr/share/analog/lang/"
114 /* Directory where the language files live. Actually, if this one is defined
115 to be NULL, they will be looked for inside the "lang" subdirectory of the