Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 6454b519dfaec8b8321aae5b3f091f2b > files > 9

squid-3.0-8mdv2009.0.src.rpm

diff -Naur squid-3.0.STABLE9/src/cf.data.pre squid-3.0.STABLE9.oden/src/cf.data.pre
--- squid-3.0.STABLE9/src/cf.data.pre	2008-09-09 18:06:44.000000000 +0200
+++ squid-3.0.STABLE9.oden/src/cf.data.pre	2008-09-22 16:31:33.000000000 +0200
@@ -703,7 +703,7 @@
 http_access allow localnet
 
 # And finally deny all other access to this proxy
-http_access deny all
+http_access allow localhost
 NOCOMMENT_END
 DOC_END
 
@@ -2135,7 +2135,7 @@
 
 NAME: logfile_rotate
 TYPE: int
-DEFAULT: 10
+DEFAULT: 0
 LOC: Config.Log.rotateNumber
 DOC_START
 	Specifies the number of logfile rotations to make when you
@@ -3254,7 +3254,7 @@
 
 NAME: cache_mgr
 TYPE: string
-DEFAULT: webmaster
+DEFAULT: root
 LOC: Config.adminEmail
 DOC_START
 	Email-address of local cache manager who will receive
@@ -4424,7 +4424,11 @@
 DOC_START
 	If you wish to create your own versions of the default files, to
 	customize them to suit your company copy the template files to
-	another directory and point this tag at them.
+	another directory where the error files are read from.
+	/usr/share/squid/errors contains sets of error files
+	in different languages. The default error directory
+	is /etc/squid/errors, which is a link to one of these
+	error sets.
 
 	Current Language updates can be downloaded from:
 		http://www.squid-cache.org/Versions/langpack/
@@ -4434,6 +4438,9 @@
 	langauge that Squid does not currently provide please consider
 	contributing your translation back to the project.
 	see http://wiki.squid-cache.org/Translations
+NOCOMMENT_START
+error_directory /etc/squid/errors
+NOCOMMENT_END
 DOC_END
 
 NAME: err_html_text
diff -Naur squid-3.0.STABLE9/src/defines.h squid-3.0.STABLE9.oden/src/defines.h
--- squid-3.0.STABLE9/src/defines.h	2008-09-09 18:06:44.000000000 +0200
+++ squid-3.0.STABLE9.oden/src/defines.h	2008-09-22 16:17:39.000000000 +0200
@@ -219,7 +219,7 @@
 
 /* were to look for errors if config path fails */
 #ifndef DEFAULT_SQUID_ERROR_DIR
-#define DEFAULT_SQUID_ERROR_DIR "/usr/local/squid/etc/errors"
+#define DEFAULT_SQUID_ERROR_DIR "/etc/squid/errors"
 #endif
 
 /* handy to determine the #elements in a static array */