diff -urN analog-5.0.org/analog.cfg analog-5.0/analog.cfg
--- analog-5.0.org/analog.cfg Tue May 1 12:38:24 2001
+++ analog-5.0/analog.cfg Mon May 14 00:56:08 2001
@@ -9,10 +9,11 @@
# There is a much more extensive configuration file in examples/big.cfg
#
# If you need a LOGFORMAT command it must go here, above the LOGFILE commands.
-LOGFILE logfile.log
+LOGFILE /var/log/httpd/access_log
+LANGUAGE POLISH
# LOGFILE /old/logs/access_log.*
# OUTFILE Report.html
-# HOSTNAME "[my organisation]"
+HOSTNAME "[PLD Linux Server]"
# REQINCLUDE pages
REQLINKINCLUDE pages
REFLINKINCLUDE *
diff -urN analog-5.0.org/anlgform.html analog-5.0/anlgform.html
--- analog-5.0.org/anlgform.html Tue May 1 12:38:24 2001
+++ analog-5.0/anlgform.html Mon May 14 00:57:26 2001
@@ -3,7 +3,7 @@
- Analog form interface
+ Analog form interface
@@ -15,10 +15,10 @@
-
+
-
+
diff -urN analog-5.0.org/anlgform.pl analog-5.0/anlgform.pl
--- analog-5.0.org/anlgform.pl Tue May 1 12:38:24 2001
+++ analog-5.0/anlgform.pl Mon May 14 00:58:03 2001
@@ -19,6 +19,7 @@
# of Perl (don't remove the #! though).
# 3) You also need to edit anlgform.html if you want to use the form.
# 4) Add to the forbidden commands below if you want.
+$analog = '/usr/bin/analog';
@forbidden = qw(LOGFORMAT APACHELOGFORMAT DEFAULTLOGFORMAT
APACHEDEFAULTLOGFORMAT HEADERFILE FOOTERFILE UNCOMPRESS
diff -urN analog-5.0.org/src/anlghea2.h analog-5.0/src/anlghea2.h
--- analog-5.0.org/src/anlghea2.h Tue May 1 12:38:33 2001
+++ analog-5.0/src/anlghea2.h Mon May 14 01:05:03 2001
@@ -50,11 +50,11 @@
#endif
#ifndef NODNS
-#define DNSFILE "dnscache"
+#define DNSFILE "/var/lib/analog/dnscache"
/* where to store resolved addresses so we don't have to look them up next
time */
-#define DNSLOCKFILE "dnslock"
+#define DNSLOCKFILE "/var/lock/dnslock"
/* A lock file to stop two processes trying to write the DNSFILE at once */
#define DNS (DNS_NONE)
diff -urN analog-5.0.org/src/anlghead.h analog-5.0/src/anlghead.h
--- analog-5.0.org/src/anlghead.h Tue May 1 12:38:33 2001
+++ analog-5.0/src/anlghead.h Mon May 14 01:06:40 2001
@@ -19,30 +19,30 @@
#define ANLGHEAD_H
#ifndef HOSTNAME
-#define HOSTNAME "[my organisation]"
+#define HOSTNAME "[PLD Linux Server]"
/* The name of your organisation or web server. This is used for printing
at the top of the output. */
#endif
#ifndef HOSTURL
-#define HOSTURL "none"
+#define HOSTURL "/"
/* The URL of your host's home page, for linking to at the top of the
output; use "none" for no linking. */
#endif
#ifndef LOGFILE
-#define LOGFILE "logfile.log"
+#define LOGFILE "/var/log/httpd/access_log"
/* The name of the default logfile. Can be a list, separated by commas
(but no spaces), and can include wild cards. */
#endif
#ifndef OUTFILE
-#define OUTFILE "stdout"
+#define OUTFILE "/home/httpd/html/usage/analog.html"
/* The default file for output. Use "stdout" for stdout. */
#endif
#ifndef IMAGEDIR
-#define IMAGEDIR "images/"
+#define IMAGEDIR "/icons/"
/* URL of the directory where the images for the graphical reports live.
The URL can be absolute, or relative to the output page: e.g., just the
empty string "" for the same directory as the output page. */
@@ -61,7 +61,7 @@
#endif
#ifndef DEFAULTCONFIGFILE
-#define DEFAULTCONFIGFILE "analog.cfg"
+#define DEFAULTCONFIGFILE "/etc/analog.cfg"
/* The name of the default configuration file. */
#endif
@@ -82,7 +82,7 @@
directory. This may or may not work, so it's better to specify a location
explicitly here if you know where the files will be kept. */
#ifndef LANGDIR
-#define LANGDIR NULL
+#define LANGDIR "/usr/share/analog/lang/"
#endif
/* Directory where the language files live. Actually, if this one is defined
to be NULL, they will be looked for inside the "lang" subdirectory of the