1 diff -urN analog3.32.orig/analhead.h analog3.32/analhead.h
2 --- analog3.32.orig/analhead.h Sat Jun 19 13:19:21 1999
3 +++ analog3.32/analhead.h Sat Jul 31 21:30:45 1999
5 them except MANDATORYCONFIGFILE can be changed at run time as well. ***/
8 -#define HOSTNAME "[my organisation]"
9 +#define HOSTNAME "PLD Linux Server"
10 /* the name of your organisation or WWW host. This is used for printing
11 at the top of the output */
15 -#define HOSTURL "none"
17 /* the URL of your host's home page, for linking to at the top of the
18 output; use "none" for no linking. */
22 -#define HTTPDIR "/usr/local/etc/httpd/"
23 +#define HTTPDIR "/etc/httpd/"
26 #define ANALOGDIR HTTPDIR"analog/"
28 "/usr/local/etc/httpd/analog/" */
31 -#define LOGFILE HTTPDIR"logs/access_log"
32 +#define LOGFILE "/var/log/httpd/access_log"
33 /* The name of the default logfile. Can be a list, separated by commas
34 (but no spaces), and can include wild cards. */
38 -#define IMAGEDIR "images/"
39 +#define IMAGEDIR "/icons/"
40 /* URL of the directory where the images for the graphical reports live.
41 The URL can be absolute, or relative to the output page: e.g., just the
42 empty string "" for the same directory as the output page. */
46 -#define LANGDIR ANALOGDIR"lang/"
47 +#define LANGDIR "/usr/share/analog/lang/"
48 /* Directory where the language files live. */
51 #ifndef DEFAULTCONFIGFILE
52 -#define DEFAULTCONFIGFILE ANALOGDIR"analog.cfg"
53 +#define DEFAULTCONFIGFILE "/etc/analog.cfg"
54 /* the name of the default configuration file; see README.html for a
55 description of this file. Use "none" (NOT ANALOGDIR"none"!) for no
56 configuration file. */
58 /*** The rest of the options can be overridden when the program is run. ***/
61 -#define OUTFILE "stdout"
62 +#define OUTFILE "/home/httpd/html/usage/analog.html"
63 /* The default file for output. Use "stdout" for stdout. */
70 -#define DNSFILE ANALOGDIR"dnscache"
71 +#define DNSFILE "/var/state/analog/dnscache"
72 /* where to store resolved addresses so we don't have to look them up next
75 -#define DNSLOCKFILE ANALOGDIR"dnslock"
76 +#define DNSLOCKFILE "/var/lock/dnslock"
77 /* A lock file to stop two processes trying to write the DNSFILE at once */
79 #define DNS (DNS_NONE)
80 diff -urN analog3.32.orig/analog.cfg analog3.32/analog.cfg
81 --- analog3.32.orig/analog.cfg Sat May 15 16:43:58 1999
82 +++ analog3.32/analog.cfg Sat Jul 31 21:44:01 1999
86 # If you have a LOGFORMAT command it must go here, above the LOGFILE command.
88 +LOGFILE /var/log/httpd/access_log
90 HOSTNAME "[my organisation]"
93 diff -urN analog3.32.orig/anlgform.c analog3.32/anlgform.c
94 --- analog3.32.orig/anlgform.c Sat Jun 19 13:18:54 1999
95 +++ analog3.32/anlgform.c Sat Jul 31 21:29:58 1999
97 /*** anlgform.c; the cgi front end for analog ***/
99 /* You must uncomment the next line, and put where the analog executable is */
100 -/* #define ANALOG "/usr/local/etc/httpd/analog/analog" */
101 +#define ANALOG "/usr/bin/analog"
104 #define ANALOG "\\analog\\analog.exe"
105 diff -urN analog3.32.orig/anlgform.html analog3.32/anlgform.html
106 --- analog3.32.orig/anlgform.html Tue Jun 8 22:00:25 1999
107 +++ analog3.32/anlgform.html Sat Jul 31 21:29:58 1999
112 -<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
113 +<h1><img src="/icons/analogo.gif" alt="Analog" --> Analog form interface</h1>
115 <!-- All platforms should uncomment the img tag above, edited if necessary -->
119 <!-- Many systems will want the IMAGEDIR to be different on the form... -->
120 <!-- than from the commandline, because it should not be within /cgi-bin/ -->
121 -<!-- input type=hidden name="ie" value="/images/" -->
122 +<!-- input type=hidden name="ie" value="/icons/" -->
124 <!-- Some users will want to set their logfile like this -->
125 -<!-- input type=hidden name="lo" value="/usr/local/etc/httpd/logs/access_log" -->
126 +<!-- input type=hidden name="lo" value="/var/log/httpd/access_log" -->
128 <!-- A few broken systems need a TZ line to specify their timezone -->
129 <!-- input type=hidden name="TZ" value="GMT0BST" -->