]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
insert admin email in error pages
authorwessels <>
Fri, 19 Jul 1996 23:34:08 +0000 (23:34 +0000)
committerwessels <>
Fri, 19 Jul 1996 23:34:08 +0000 (23:34 +0000)
src/errorpage.cc

index be4aece5e14ee0194ce110305f529f465b72f2dd..08b9775e580aae54892066604c54c44b5c92051e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: errorpage.cc,v 1.26 1996/07/18 20:26:13 wessels Exp $
+ * $Id: errorpage.cc,v 1.27 1996/07/19 17:34:08 wessels Exp $
  *
  * DEBUG: section 4     Error Generation
  * AUTHOR: Duane Wessels
@@ -246,7 +246,7 @@ Content-type: text/html\r\n\
 <P>\n\
 Sorry, you are not currently allowed to request\n\
 <PRE>    %s</PRE>\n\
->From this cache.  Please check with the\n\
+From this cache.  Please check with the\n\
 <A HREF=\"mailto:%s\">cache administrator</A>\n\
 if you believe this is incorrect.\n\
 <HR>\n\
@@ -270,8 +270,9 @@ char *authorization_needed_msg(request, realm)
     sprintf(auth_msg, "<TITLE>Authorization needed</TITLE>\n\
 Sorry, you have to authorize yourself to request\n\
 <PRE>    ftp://%s@%s%s</PRE>\n\
-from this cache.  Please check with the cache administrator if you\n\
-believe this is incorrect.\n\
+from this cache.  Please check with the\n\
+<A HREF=\"mailto:%s\">cache administrator</A>\n\
+if you believe this is incorrect.\n\
 <HR>\n\
 <ADDRESS>\n\
 Generated by %s/%s@%s\n\
@@ -280,6 +281,7 @@ Generated by %s/%s@%s\n\
        request->login,
        request->host,
        request->urlpath,
+       getAdminEmail(),
        appname,
        version_string,
        getMyHostname());