<HTML><HEAD>
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
</HEAD><BODY>
-<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR>
<P>
While trying to retrieve the URL:
-<A HREF="%u">%u</A>
+<A HREF="%U">%U</A>
<P>
The following error was encountered:
-<UL>
-<LI>
-<STRONG>
-@SHORT_DESCRIPTION@
-</STRONG>
+<BLOCKQUOTE>
+Unable to determine IP address from host name for
+<I>%H</I>
+</BLOCKQUOTE>
</UL>
<P>
-The system returned:
-<PRE><I> @XSTRERROR@</I></PRE>
+The dnsserver returned:
+<BLOCKQUOTE>
+%z
+</BLOCKQUOTE>
<P>
This means that:
/*
- * $Id: cache_cf.cc,v 1.220 1997/08/25 03:52:16 wessels Exp $
+ * $Id: cache_cf.cc,v 1.221 1997/08/25 05:29:55 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
}
/* Sanity checks */
+ if (Config.cacheSwap.swapDirs == NULL)
+ fatal("No cache_dir's specified in config file");
if (Config.Swap.maxSize < (Config.Mem.maxSize >> 10)) {
printf("WARNING: cache_swap (%d kbytes) is less than cache_mem (%d bytes).\n", Config.Swap.maxSize, Config.Mem.maxSize);
printf(" This will cause serious problems with your cache!!!\n");
{
free_all();
}
+
/*
- * $Id: cachemgr.cc,v 1.56 1997/07/16 20:31:58 wessels Exp $
+ * $Id: cachemgr.cc,v 1.57 1997/08/25 05:29:55 wessels Exp $
*
* DEBUG: section 0 CGI Cache Manager
* AUTHOR: Harvest Derived
"client_list",
"log",
"parameter",
- "stats/ipcache",
- "stats/fqdncache",
- "stats/dns",
- "stats/redirector",
- "stats/objects",
- "stats/vm_objects",
- "stats/utilization",
- "stats/io",
- "stats/reply_headers",
- "stats/filedescriptors",
- "stats/netdb",
+ "ipcache",
+ "fqdncache",
+ "dns",
+ "redirector",
+ "objects",
+ "vm_objects",
+ "utilization",
+ "io",
+ "reply_headers",
+ "filedescriptors",
+ "netdb",
"shutdown",
"refresh",
#ifdef REMOVE_OBJECT
understand the difference between an ICP _query_ and an ICP
_reply_. This option is to be set only if you want to RECEIVE
multicast queries. Do NOT set this option to SEND multicast
- ICP (use cache_host for that). ICP replies are always sent via
+ ICP (use cache_peer for that). ICP replies are always sent via
unicast, so this option does not affect whether or not you will
receive replies from multicast group members.
# proxy icp
# hostname type port port options
# -------------------- -------- ----- ----- -----------
- cache_host bigserver.usc.edu parent 3128 3130 [proxy-only]
- cache_host littleguy1.usc.edu sibling 3128 3130 [proxy-only]
- cache_host littleguy1.usc.edu sibling 3128 3130 [proxy-only]
+ cache_peer bigserver.usc.edu parent 3128 3130 [proxy-only]
+ cache_peer littleguy1.usc.edu sibling 3128 3130 [proxy-only]
+ cache_peer littleguy1.usc.edu sibling 3128 3130 [proxy-only]
type: either 'parent', 'sibling', or 'multicast'.
NOTE: non-ICP neighbors must be specified as 'parent'.
-cache_host hostname type 3128 3130
+cache_peer hostname type 3128 3130
DOC_END
Modifying the neighbor type for specific domains is now
possible. You can treat some domains differently than the the
- default neighbor type specified on the 'cache_host' line.
+ default neighbor type specified on the 'cache_peer' line.
Normally it should only be necessary to list domains which
should be treated differently because the default neighbor type
applies for hostnames which do not match domains listed here.
EXAMPLE:
- cache_host parent cache.foo.org 3128 3130
+ cache_peer parent cache.foo.org 3128 3130
neighbor_type_domain cache.foo.org sibling .com .net
neighbor_type_domain cache.foo.org sibling .au .de
DOC_END
You can specify multiple cache_dir lines to spread the
cache among different disk partitions.
-cache_dir /usr/local/squid/cache 1000 256 16
+cache_dir /usr/local/squid/cache 1000 16 256
DOC_END
NAME: pinger_program
-TYPE: pathname_stat
+TYPE: string
DEFAULT: @DEFAULT_PINGER@
LOC: Config.Program.pinger
DOC_START
NAME: cache_effective_user
TYPE: string
-DEFAULT: none
+DEFAULT: nobody
LOC: Config.effectiveUser
DOC_NONE
NAME: cache_effective_group
TYPE: string
-DEFAULT: none
+DEFAULT: nogroup
LOC: Config.effectiveGroup
DOC_START
If the cache is run as root, it will change its effective/real
die unless (/^extern\s+([^;]+);(.*)$/);
$var = $1;
$comments = $2;
- if ($comments =~ m+/\*\s*(.*)\s*\*/+) {
+ if ($comments =~ m+/\*\s*(\S*)\s*\*/+) {
$init = $1;
}
print $var;
/*
- * $Id: pinger.cc,v 1.25 1997/07/14 19:24:39 wessels Exp $
+ * $Id: pinger.cc,v 1.26 1997/08/25 05:29:57 wessels Exp $
*
* DEBUG: section 42 ICMP Pinger program
* AUTHOR: Duane Wessels
#include "squid.h"
-/* Junk so we can link with debug.o */
-struct timeval current_time;
-time_t squid_curtime;
-SquidConfig Config;
-
#if USE_ICMP
#include <netinet/in_systm.h>
char payload[MAX_PAYLOAD];
} icmpEchoData;
-int icmp_sock = -1;
int icmp_ident = -1;
int icmp_pkts_sent = 0;
const char *debug_args = "ALL,1";
char *t;
time_t last_check_time = 0;
- appname = xstrdup("pinger");
if ((t = getenv("SQUID_DEBUG")))
debug_args = xstrdup(t);
/*
- * $Id: store.cc,v 1.281 1997/08/25 02:17:49 wessels Exp $
+ * $Id: store.cc,v 1.282 1997/08/25 05:29:58 wessels Exp $
*
* DEBUG: section 20 Storeage Manager
* AUTHOR: Harvest Derived
storelog_fd = file_open(fname, O_WRONLY | O_CREAT, NULL, NULL);
if (storelog_fd < 0)
debug(20, 1) ("Store logging disabled\n");
- if (Config.cacheSwap.n_configured < 1)
- fatal("No cache_dir's specified in config file");
storeVerifySwapDirs();
storeDirOpenSwapLogs();
if (!opt_zap_disk_store)