aboutsummaryrefslogtreecommitdiff
path: root/www/analog/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/analog/files/patch-ab')
-rw-r--r--www/analog/files/patch-ab134
1 files changed, 84 insertions, 50 deletions
diff --git a/www/analog/files/patch-ab b/www/analog/files/patch-ab
index 20e4f3522fef..d26da2562d3b 100644
--- a/www/analog/files/patch-ab
+++ b/www/analog/files/patch-ab
@@ -1,50 +1,84 @@
---- analhead.h.orig Sat Jul 13 10:48:54 1996
-+++ analhead.h Mon Aug 5 21:13:30 1996
-@@ -17,11 +17,11 @@
- /* the URL of your host's home page, for linking to at the top of the
- output; use "-" for no linking. */
-
--#define DOMAINSFILE "/usr/local/etc/httpd/analog/domains.tab"
-+#define DOMAINSFILE "/usr/local/share/analog/domains.tab"
- /* the name of the file where the domain definitions live; see README.html
- for the format of this file */
-
--#define LOGFILE "/usr/local/etc/httpd/logs/access_log"
-+#define LOGFILE "/var/log/httpd-access.log"
- /* The name of the default logfile; use "stdin" for stdin.
- Can be a list, separated by commas (but no spaces). */
-
-@@ -30,7 +30,7 @@
- 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. */
-
--#define DEFAULTCONFIGFILE "/usr/local/etc/httpd/analog/analog.cfg"
-+#define DEFAULTCONFIGFILE "none"
- /* the name of the default configuration file; see README.html for a
- description of this file. Use "none" for no configuration file. */
-
-@@ -80,20 +80,20 @@
- #define CACHEFILE "none"
- /* The default file of cached time info. Use "none" for none. */
-
--#define REFERRER_LOG "/usr/local/etc/httpd/logs/referer_log"
-+#define REFERRER_LOG "/var/log/httpd-referrer.log"
- /* The name of the default referrer_log (= referer_log). Use "none" for none.
- Can be a list, separated by commas. */
-
--#define BROWSER_LOG "/usr/local/etc/httpd/logs/agent_log"
-+#define BROWSER_LOG "/var/logs/httpd-agent.log"
- /* The name of the default browser log (= agent_log) similarly. */
-
--#define ERROR_LOG "/usr/local/etc/httpd/logs/error_log"
-+#define ERROR_LOG "/var/log/httpd-error.log"
- /* The name of the default error_log similarly. */
-
- #define NUMLOOKUP (OFF)
- /* whether to try and resolve IP addresses. Can be slow. */
-
--#define DNSFILE "/users4/sret1/misc/analog/dnscache"
-+#define DNSFILE "/usr/local/share/analog/dnscache"
- /* where to store resolved addresses so we don't have to look them up next
- time */
-
+*** analhead.h.orig Fri Mar 14 20:33:09 1997
+--- analhead.h Sat May 3 02:37:26 1997
+***************
+*** 14,25 ****
+ /* the name of your organisation or WWW host. This is used for printing
+ at the top of the output */
+
+! #define HOSTURL "http://www.statslab.cam.ac.uk/"
+ /* the URL of your host's home page, for linking to at the top of the
+ output; use "-" for no linking. */
+
+! #define HTTPDIR "/usr/local/etc/httpd/"
+! #define ANALOGDIR HTTPDIR "analog/"
+ /* The directories where your HTTP stuff lives and where your analog stuff
+ lives. You don't really need these; they are just used in this file to
+ build up other filenames. Note how you can stick together names by
+--- 14,24 ----
+ /* the name of your organisation or WWW host. This is used for printing
+ at the top of the output */
+
+! #define HOSTURL "-"
+ /* the URL of your host's home page, for linking to at the top of the
+ output; use "-" for no linking. */
+
+! #define ANALOGDIR "/usr/local/lib/analog/"
+ /* The directories where your HTTP stuff lives and where your analog stuff
+ lives. You don't really need these; they are just used in this file to
+ build up other filenames. Note how you can stick together names by
+***************
+*** 30,40 ****
+ /* the name of the file where the domain definitions live; see README.html
+ for the format of this file */
+
+! #define LOGFILE HTTPDIR "logs/access_log"
+ /* The name of the default logfile; use "stdin" for stdin.
+ Can be a list, separated by commas (but no spaces). */
+
+! #define IMAGEDIR "/images/"
+ /* 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. Ends with /. */
+--- 29,39 ----
+ /* the name of the file where the domain definitions live; see README.html
+ for the format of this file */
+
+! #define LOGFILE "/var/log/httpd-access.log"
+ /* The name of the default logfile; use "stdin" for stdin.
+ Can be a list, separated by commas (but no spaces). */
+
+! #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. Ends with /. */
+***************
+*** 93,106 ****
+ #define CACHEFILE "none"
+ /* The default file of cached time info. Use "none" for none. */
+
+! #define REFERRER_LOG HTTPDIR "logs/referer_log"
+ /* The name of the default referrer log (= referer_log). Use "none" for none.
+ Can be a list, separated by commas. */
+
+! #define BROWSER_LOG HTTPDIR "logs/agent_log"
+ /* The name of the default browser log (= agent_log) similarly. */
+
+! #define ERROR_LOG HTTPDIR "logs/error_log"
+ /* The name of the default error_log similarly. */
+
+ #define NUMLOOKUP (OFF)
+--- 92,105 ----
+ #define CACHEFILE "none"
+ /* The default file of cached time info. Use "none" for none. */
+
+! #define REFERRER_LOG "/var/log/httpd-referer.log"
+ /* The name of the default referrer log (= referer_log). Use "none" for none.
+ Can be a list, separated by commas. */
+
+! #define BROWSER_LOG "/var/logs/httpd-agent.log"
+ /* The name of the default browser log (= agent_log) similarly. */
+
+! #define ERROR_LOG "/var/log/httpd-error.log"
+ /* The name of the default error_log similarly. */
+
+ #define NUMLOOKUP (OFF)