]>
Commit | Line | Data |
---|---|---|
4928cb62 | 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 | |
4 | @@ -7,7 +7,8 @@ | |
5 | # There is a much more extensive configuration file in examples/big.cfg | |
6 | # | |
7 | # If you need a LOGFORMAT command it must go here, above the LOGFILE command. | |
8 | -# LOGFILE logfile.log | |
9 | +LOGFILE /var/log/httpd/access_log | |
10 | +LANGUAGE POLISH | |
11 | # HOSTNAME "[my organisation]" | |
12 | # REQINCLUDE pages | |
13 | LINKINCLUDE pages | |
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 | |
17 | @@ -3,8 +3,7 @@ | |
18 | </head> | |
19 | ||
20 | <body> | |
21 | -<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1> | |
22 | - | |
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. --> | |
25 | ||
26 | <!-- First, uncomment the img tag above, edited if necessary. --> | |
27 | @@ -24,10 +23,10 @@ | |
28 | ||
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/" --> | |
33 | ||
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" --> | |
37 | ||
38 | <hr> | |
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 | |
43 | @@ -48,16 +48,16 @@ | |
44 | #endif | |
45 | ||
46 | #ifndef LANGDIR | |
47 | -#define LANGDIR ANALOGDIR"lang/" | |
48 | +#define LANGDIR ANALOGDIR "/usr/share/analog/lang/" | |
49 | /* Directory where the language files live. */ | |
50 | #endif | |
51 | ||
52 | #ifndef NODNS | |
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 | |
56 | time */ | |
57 | ||
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 */ | |
61 | ||
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 | |
66 | @@ -19,19 +19,19 @@ | |
67 | #define ANLGHEAD | |
0b76998b AM |
68 | |
69 | #ifndef HOSTNAME | |
70 | -#define HOSTNAME "[my organisation]" | |
4928cb62 | 71 | +#define HOSTNAME "[PLD Linux Server]" |
0b76998b AM |
72 | /* the name of your organisation or WWW host. This is used for printing |
73 | at the top of the output */ | |
74 | #endif | |
75 | ||
76 | #ifndef HOSTURL | |
77 | -#define HOSTURL "none" | |
78 | +#define HOSTURL "/" | |
79 | /* the URL of your host's home page, for linking to at the top of the | |
80 | output; use "none" for no linking. */ | |
81 | #endif | |
82 | ||
0b76998b | 83 | #ifndef ANALOGDIR |
4928cb62 | 84 | -#define ANALOGDIR "/usr/local/analog4.02/" |
85 | +#define ANALOGDIR "" | |
86 | #endif | |
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 | |
89 | @@ -41,18 +41,18 @@ | |
90 | which means the file analog.cfg within the ANALOGDIR. */ | |
0b76998b AM |
91 | |
92 | #ifndef LOGFILE | |
4928cb62 | 93 | -#define LOGFILE "/usr/local/apache/logs/access_log" |
0b76998b AM |
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. */ | |
97 | #endif | |
98 | ||
4928cb62 | 99 | #ifndef OUTFILE |
100 | -#define OUTFILE "stdout" | |
101 | +#define OUTFILE "/home/httpd/html/usage/analog.html" | |
102 | /* The default file for output. Use "stdout" for stdout. */ | |
103 | #endif | |
104 | ||
0b76998b AM |
105 | #ifndef IMAGEDIR |
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. */ | |
4928cb62 | 111 | @@ -71,7 +71,7 @@ |
0b76998b AM |
112 | #endif |
113 | ||
114 | #ifndef DEFAULTCONFIGFILE | |
115 | -#define DEFAULTCONFIGFILE ANALOGDIR"analog.cfg" | |
4928cb62 | 116 | +#define DEFAULTCONFIGFILE ANALOGDIR "/etc/analog.cfg" |
0b76998b AM |
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. */ |