1 diff -urN analog-4.16.org/analog.cfg analog-4.16/analog.cfg
2 --- analog-4.16.org/analog.cfg Tue Feb 13 16:09:08 2001
3 +++ analog-4.16/analog.cfg Mon Feb 26 21:04:14 2001
5 # There is a much more extensive configuration file in examples/big.cfg
7 # If you need a LOGFORMAT command it must go here, above the LOGFILE command.
9 +LOGFILE /var/log/httpd/access_log
11 # OUTFILE outfile.html
12 -# HOSTNAME "[my organisation]"
13 +HOSTNAME "[PLD Linux Server]"
17 diff -urN analog-4.16.org/anlgform.html analog-4.16/anlgform.html
18 --- analog-4.16.org/anlgform.html Tue Feb 13 16:09:08 2001
19 +++ analog-4.16/anlgform.html Mon Feb 26 21:06:02 2001
24 -<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
26 +<h1><img src="/icons/analogo.gif" alt="Analog" --> Analog form interface</h1>
27 <!-- Make the edits below. You also need to edit anlgform.pl. -->
29 <!-- First, uncomment the img tag above, edited if necessary. -->
32 <!-- Many systems will want the IMAGEDIR to be different on the form -->
33 <!-- than from the command line, because it should not be within /cgi-bin/ -->
34 -<!-- input type=hidden name="IMAGEDIR" value="/images/" -->
35 +<!-- input type=hidden name="IMAGEDIR" value="/icons/" -->
37 <!-- Some users will want to set their logfile like this. If you do, you -->
38 <!-- musn't also specify the LOGFILE in the "cg" configuration file above. -->
39 -<!-- input type=hidden name="LOGFILE" value="/usr/local/etc/httpd/logs/access_log" -->
40 +<!-- input type=hidden name="LOGFILE" value="/usr/var/httpd/log/access_log" -->
42 <!-- After you've made these edits, you can remove the "strong" lines below -->
44 diff -urN analog-4.16.org/anlgform.pl analog-4.16/anlgform.pl
45 --- analog-4.16.org/anlgform.pl Tue Feb 13 16:09:08 2001
46 +++ analog-4.16/anlgform.pl Mon Feb 26 21:03:22 2001
48 # of Perl (don't remove the #! though).
49 # 3) You also need to edit anlgform.html if you want to use the form.
50 # 4) Add to the forbidden commands below if you want.
51 +$analog = '/usr/bin/analog';
53 @forbidden = qw(LOGFORMAT APACHELOGFORMAT DEFAULTLOGFORMAT
54 APACHEDEFAULTLOGFORMAT HEADERFILE FOOTERFILE UNCOMPRESS
55 diff -urN analog-4.16.org/anlghea2.h analog-4.16/anlghea2.h
56 --- analog-4.16.org/anlghea2.h Tue Feb 13 16:09:08 2001
57 +++ analog-4.16/anlghea2.h Mon Feb 26 20:59:43 2001
62 -#define LANGDIR ANALOGDIR"lang/"
63 +#define LANGDIR ANALOGDIR "/usr/share/analog/lang/"
64 /* Directory where the language files live. */
68 -#define DNSFILE ANALOGDIR"dnscache"
69 +#define DNSFILE ANALOGDIR "/var/lib/analog/dnscache"
70 /* where to store resolved addresses so we don't have to look them up next
73 -#define DNSLOCKFILE ANALOGDIR"dnslock"
74 +#define DNSLOCKFILE ANALOGDIR "/var/lock/dnslock"
75 /* A lock file to stop two processes trying to write the DNSFILE at once */
77 #define DNS (DNS_NONE)
78 diff -urN analog-4.16.org/anlghead.h analog-4.16/anlghead.h
79 --- analog-4.16.org/anlghead.h Tue Feb 13 16:09:09 2001
80 +++ analog-4.16/anlghead.h Mon Feb 26 21:02:30 2001
85 -#define HOSTNAME "[my organisation]"
86 +#define HOSTNAME "[PLD Linux Server]"
87 /* the name of your organisation or WWW host. This is used for printing
88 at the top of the output */
92 -#define HOSTURL "none"
94 /* the URL of your host's home page, for linking to at the top of the
95 output; use "none" for no linking. */
99 -#define ANALOGDIR "/usr/local/analog/analog-4.16/"
100 +#define ANALOGDIR ""
102 /* The directory where your analog stuff lives (or will live). You need to
103 get this right otherwise analog won't be able to find any of its auxiliary
105 which means the file analog.cfg within the ANALOGDIR. */
108 -#define LOGFILE "/usr/local/apache/logs/access_log"
109 +#define LOGFILE "/var/log/httpd/access_log"
110 /* The name of the default logfile. Can be a list, separated by commas
111 (but no spaces), and can include wild cards. */
115 -#define OUTFILE "stdout"
116 +#define OUTFILE "/home/httpd/html/usage/analog.html"
117 /* The default file for output. Use "stdout" for stdout. */
121 -#define IMAGEDIR "images/"
122 +#define IMAGEDIR "/icons/"
123 /* URL of the directory where the images for the graphical reports live.
124 The URL can be absolute, or relative to the output page: e.g., just the
125 empty string "" for the same directory as the output page. */
129 #ifndef DEFAULTCONFIGFILE
130 -#define DEFAULTCONFIGFILE ANALOGDIR"analog.cfg"
131 +#define DEFAULTCONFIGFILE ANALOGDIR "/etc/analog.cfg"
132 /* the name of the default configuration file; see README.html for a
133 description of this file. Use "none" (NOT ANALOGDIR"none"!) for no
134 configuration file. */