1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/www/analog/files/patch-ab
James FitzGibbon 30546890da Change default config paths to match apache port.
Submitted by:	Andreas
1997-03-12 06:42:20 +00:00

51 lines
2.0 KiB
Plaintext

--- 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 */