]>
Commit | Line | Data |
---|---|---|
e0d13f13 | 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 | |
95a6f835 | 4 | @@ -3,7 +3,7 @@ |
4928cb62 | 5 | </head> |
6 | ||
7 | <body> | |
8 | -<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1> | |
e0d13f13 | 9 | +<h1><img src="/images/analogo.gif" alt="" --> Analog form interface</h1> |
95a6f835 | 10 | |
4928cb62 | 11 | <!-- Make the edits below. You also need to edit anlgform.pl. --> |
12 | ||
e0d13f13 | 13 | @@ -15,10 +15,12 @@ |
4928cb62 | 14 | |
7213cced | 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/ --> | |
4928cb62 | 17 | -<!-- input type=hidden name="IMAGEDIR" value="/images/" --> |
18 | +<!-- input type=hidden name="IMAGEDIR" value="/icons/" --> | |
19 | ||
95a6f835 | 20 | <!-- Some users will want to set their logfile like this. --> |
e0d13f13 | 21 | <!-- input type=hidden name="LOGFILE" value="/usr/local/etc/httpd/logs/access_log" --> |
4928cb62 | 22 | +<!-- input type=hidden name="LOGFILE" value="/usr/var/httpd/log/access_log" --> |
e0d13f13 | 23 | + |
4928cb62 | 24 | |
7213cced | 25 | <!-- After you've made these edits, you can remove the "strong" lines below --> |
26 | ||
e0d13f13 | 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 | |
7213cced | 30 | @@ -19,6 +19,7 @@ |
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. | |
e0d13f13 | 34 | +$analog='/usr/bin/analog' |
7213cced | 35 | |
36 | @forbidden = qw(LOGFORMAT APACHELOGFORMAT DEFAULTLOGFORMAT | |
37 | APACHEDEFAULTLOGFORMAT HEADERFILE FOOTERFILE UNCOMPRESS | |
e0d13f13 | 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 | |
43 | @@ -50,11 +50,12 @@ | |
4928cb62 | 44 | #endif |
45 | ||
46 | #ifndef NODNS | |
95a6f835 | 47 | -#define DNSFILE "dnscache" |
48 | +#define DNSFILE "/var/lib/analog/dnscache" | |
4928cb62 | 49 | /* where to store resolved addresses so we don't have to look them up next |
50 | time */ | |
51 | ||
95a6f835 | 52 | -#define DNSLOCKFILE "dnslock" |
53 | +#define DNSLOCKFILE "/var/lock/dnslock" | |
e0d13f13 | 54 | + |
4928cb62 | 55 | /* A lock file to stop two processes trying to write the DNSFILE at once */ |
56 | ||
57 | #define DNS (DNS_NONE) | |
e0d13f13 | 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 | |
61 | @@ -19,30 +19,31 @@ | |
95a6f835 | 62 | #define ANLGHEAD_H |
0b76998b AM |
63 | |
64 | #ifndef HOSTNAME | |
65 | -#define HOSTNAME "[my organisation]" | |
4928cb62 | 66 | +#define HOSTNAME "[PLD Linux Server]" |
95a6f835 | 67 | /* The name of your organisation or web server. This is used for printing |
68 | at the top of the output. */ | |
0b76998b AM |
69 | #endif |
70 | ||
71 | #ifndef HOSTURL | |
72 | -#define HOSTURL "none" | |
73 | +#define HOSTURL "/" | |
95a6f835 | 74 | /* The URL of your host's home page, for linking to at the top of the |
0b76998b AM |
75 | output; use "none" for no linking. */ |
76 | #endif | |
77 | ||
0b76998b | 78 | #ifndef LOGFILE |
95a6f835 | 79 | -#define LOGFILE "logfile.log" |
0b76998b AM |
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. */ | |
83 | #endif | |
84 | ||
4928cb62 | 85 | #ifndef OUTFILE |
86 | -#define OUTFILE "stdout" | |
40e07754 | 87 | +#define OUTFILE "/home/services/httpd/html/usage/analog.html" |
e0d13f13 | 88 | + |
4928cb62 | 89 | /* The default file for output. Use "stdout" for stdout. */ |
90 | #endif | |
91 | ||
0b76998b AM |
92 | #ifndef IMAGEDIR |
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. */ | |
e0d13f13 | 98 | @@ -61,7 +62,7 @@ |
0b76998b AM |
99 | #endif |
100 | ||
101 | #ifndef DEFAULTCONFIGFILE | |
95a6f835 | 102 | -#define DEFAULTCONFIGFILE "analog.cfg" |
103 | +#define DEFAULTCONFIGFILE "/etc/analog.cfg" | |
104 | /* The name of the default configuration file. */ | |
105 | #endif | |
106 | ||
e0d13f13 | 107 | @@ -82,7 +83,7 @@ |
95a6f835 | 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. */ | |
110 | #ifndef LANGDIR | |
111 | -#define LANGDIR NULL | |
112 | +#define LANGDIR "/usr/share/analog/lang/" | |
113 | #endif | |
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 |