Radim Hajek wrote:
>
> Hi,
>
> I try routing by Autonous Systems, but squid 1.2.b24 dont know
> commands for this ???
>
> 1998/09/11 20:11:42| parseConfigFile: line 869 unrecognized:
> 'cache_peer_acl proxy2.xxx.xxx asrout1'
It is named cache_peer_access. The squid.conf comments needs to be
updated to reflect this and there should be backward compability to
cache_peer_acl. [patch attached]
--- Henrik Nordström Sparetime Squid Hacker
Index: squid/src/cf.data.pre
diff -u squid/src/cf.data.pre:1.1.1.22.4.2 squid/src/cf.data.pre:1.1.1.22.4.3
--- squid/src/cf.data.pre:1.1.1.22.4.2 Sun Aug 30 03:38:40 1998
+++ squid/src/cf.data.pre Sat Sep 12 18:15:17 1998
@@ -287,7 +287,7 @@
* Cache hosts with no domain restrictions are queried
for all requests.
* There are no defaults.
- * There is also a 'cache_peer_acl' tag in the ACL
+ * There is also a 'cache_peer_access' tag in the ACL
section.
DOC_END
@@ -1346,8 +1346,8 @@
# example for routing all requests for AS#1241 and only
# those to mycache.mydomain.net:
# acl asexample dst_as 1241
- # cache_peer_acl mycache.mydomain.net asexample
- # cache_peer_acl mycache_mydomain.net !all
+ # cache_peer_access mycache.mydomain.net asexample
+ # cache_peer_access mycache_mydomain.net !all
acl aclname proxy_auth [ refresh ]
# Use an EXTERNAL authentication program to check username/password
@@ -1445,7 +1445,7 @@
DOC_END
-NAME: cache_peer_access
+NAME: cache_peer_access cache_peer_acl
TYPE: peer_access
DEFAULT: none
LOC: none
Received on Sat Sep 12 1998 - 17:57:23 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:59 MST