1 diff -urN analog4.02.orig/analog.cfg analog4.02/analog.cfg
2 --- analog4.02.orig/analog.cfg Sat Jan 29 17:00:59 2000
3 +++ analog4.02/analog.cfg Fri Feb 4 00:12:37 2000
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 # HOSTNAME "[my organisation]"
14 diff -urN analog4.02.orig/anlgform.html analog4.02/anlgform.html
15 --- analog4.02.orig/anlgform.html Mon Nov 8 20:33:04 1999
16 +++ analog4.02/anlgform.html Fri Feb 4 00:12:38 2000
21 -<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
23 +<h1><img src="/icons/analogo.gif" alt="Analog" --> Analog form interface</h1>
24 <!-- Make the edits below. You also need to edit anlgform.pl. -->
26 <!-- First, uncomment the img tag above, edited if necessary. -->
29 <!-- Many systems will want the IMAGEDIR to be different on the form... -->
30 <!-- than from the commandline, because it should not be within /cgi-bin/ -->
31 -<!-- input type=hidden name="IMAGEDIR" value="/images/" -->
32 +<!-- input type=hidden name="IMAGEDIR" value="/icons/" -->
34 <!-- Some users will want to set their logfile like this -->
35 -<!-- input type=hidden name="LOGFILE" value="/usr/local/etc/httpd/logs/access_log" -->
36 +<!-- input type=hidden name="LOGFILE" value="/usr/var/httpd/log/access_log" -->
39 <h2>1. Report choices</h2>
40 diff -urN analog4.02.orig/anlghea2.h analog4.02/anlghea2.h
41 --- analog4.02.orig/anlghea2.h Sat Jan 29 17:00:59 2000
42 +++ analog4.02/anlghea2.h Fri Feb 4 00:12:38 2000
47 -#define LANGDIR ANALOGDIR"lang/"
48 +#define LANGDIR ANALOGDIR "/usr/share/analog/lang/"
49 /* Directory where the language files live. */
53 -#define DNSFILE ANALOGDIR"dnscache"
54 +#define DNSFILE ANALOGDIR "/var/state/analog/dnscache"
55 /* where to store resolved addresses so we don't have to look them up next
58 -#define DNSLOCKFILE ANALOGDIR"dnslock"
59 +#define DNSLOCKFILE ANALOGDIR "/var/lock/dnslock"
60 /* A lock file to stop two processes trying to write the DNSFILE at once */
62 #define DNS (DNS_NONE)
63 diff -urN analog4.02.orig/anlghead.h analog4.02/anlghead.h
64 --- analog4.02.orig/anlghead.h Sat Jan 29 17:01:09 2000
65 +++ analog4.02/anlghead.h Fri Feb 4 00:12:39 2000
70 -#define HOSTNAME "[my organisation]"
71 +#define HOSTNAME "[PLD Linux Server]"
72 /* the name of your organisation or WWW host. This is used for printing
73 at the top of the output */
77 -#define HOSTURL "none"
79 /* the URL of your host's home page, for linking to at the top of the
80 output; use "none" for no linking. */
84 -#define ANALOGDIR "/usr/local/analog4.02/"
87 /* The directory where your analog stuff lives (or will live). You need to
88 get this right otherwise analog won't be able to find any of its auxiliary
90 which means the file analog.cfg within the ANALOGDIR. */
93 -#define LOGFILE "/usr/local/apache/logs/access_log"
94 +#define LOGFILE "/var/log/httpd/access_log"
95 /* The name of the default logfile. Can be a list, separated by commas
96 (but no spaces), and can include wild cards. */
100 -#define OUTFILE "stdout"
101 +#define OUTFILE "/home/httpd/html/usage/analog.html"
102 /* The default file for output. Use "stdout" for stdout. */
106 -#define IMAGEDIR "images/"
107 +#define IMAGEDIR "/icons/"
108 /* URL of the directory where the images for the graphical reports live.
109 The URL can be absolute, or relative to the output page: e.g., just the
110 empty string "" for the same directory as the output page. */
114 #ifndef DEFAULTCONFIGFILE
115 -#define DEFAULTCONFIGFILE ANALOGDIR"analog.cfg"
116 +#define DEFAULTCONFIGFILE ANALOGDIR "/etc/analog.cfg"
117 /* the name of the default configuration file; see README.html for a
118 description of this file. Use "none" (NOT ANALOGDIR"none"!) for no
119 configuration file. */