#
-# $Id: cf.data.pre,v 1.93 1998/07/31 00:15:36 wessels Exp $
+# $Id: cf.data.pre,v 1.94 1998/08/03 19:30:26 wessels Exp $
#
#
# SQUID Internet Object Cache http://squid.nlanr.net/Squid/
the Squid FAQ (http://squid.nlanr.net/Squid/FAQ/FAQ-10.html).
DOC_END
+NAME: proxy_auth_realm
+TYPE: eol
+DEFAULT: Squid proxy-caching web server
+LOC: Config.proxyAuthRealm
+DOC_START
+ Specifies the realm name which is to be reported to the client for
+ proxy authentication (part of the text the user will see when
+ prompted their username and password).
+
+proxy_auth_realm Squid proxy-caching web server
+DOC_END
+
+
COMMENT_START
ADMINISTRATIVE PARAMETERS
-----------------------------------------------------------------------------
/*
- * $Id: client_side.cc,v 1.372 1998/07/31 14:48:13 wessels Exp $
+ * $Id: client_side.cc,v 1.373 1998/08/03 19:30:28 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
#endif
static const char *const crlf = "\r\n";
-static const char *const proxy_auth_challenge =
-"Basic realm=\"Squid proxy-caching web server\"";
+static const char *const proxy_auth_challenge_fmt = "Basic realm=\"%s\"";
#define REQUEST_BUF_SIZE 4096
#define FAILURE_MODE_TIME 300
rep = errorBuildReply(err);
errorStateFree(err);
/* add Authenticate header */
- httpHeaderPutStr(&rep->header, HDR_PROXY_AUTHENTICATE, proxy_auth_challenge);
+ httpHeaderPutStrf(&rep->header, HDR_PROXY_AUTHENTICATE, proxy_auth_challenge_fmt, Config.proxyAuthRealm);
return rep;
}
/*
- * $Id: structs.h,v 1.193 1998/07/31 00:15:54 wessels Exp $
+ * $Id: structs.h,v 1.194 1998/08/03 19:30:27 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
acl_access *noCache;
} accessList;
acl_deny_info_list *denyInfoList;
+ char *proxyAuthRealm;
struct {
size_t list_width;
int list_wrap;