Hi there, I do not know much about squid, so please be patient with me .. I have a (Zope based) CMS for which I want to provide a squid accelerator. The squid config file is generated by an utility. You find it attached. To test it I generated an entry in the hosts file: 127.0.0.1 testiste.zehndercom.org when I try to access the testsite running at port 8080 directly things work fine. However When I access it trough squid I get an error: While trying to retrieve the URL: http://127.0.0.1:8080/VirtualHostBase/http/testsite.zehndergroup.com:80/zehnderi/zehnderi/VirtualHostRoot/front-page The following error was encountered: * Unable to forward this request at this time. I d add an excerpt from the cache.log . what could created this error what need I to do to avoid it. thanks in advance robert here the squid.conf. -------------------- # This configuration file requires squid 2.6+. It is untested with squid 3.x. # BASIC CONFIGURATION # ------------------------------------------------------------------------------ visible_hostname testsite.zehndergroup.com # port on which to listen http_port 80 vhost defaultsite=testsite.zehndergroup.com # set cache directory and size (1000 MB) - be sure to set the cache size to # about 10% less than the physical space available to leave room for squid's # swap files and other temp files cache_dir ufs /var/spool/squid 1000 16 256 cache_mgr robert@xxxxxxxxx # LOGS # ------------------------------------------------------------------------------ # cache_access_log /var/log/squid/access.log # cache_log /var/log/squid/cache.log # cache_store_log /var/log/squid/store.log # emulate_httpd_log off # RESOURCES # ------------------------------------------------------------------------------ # amount of memory used for caching recently accessed objects - defaults to 8 MB cache_mem 64 MB maximum_object_size 10 MB # max cached object size maximum_object_size_in_memory 300 KB # max cached-in-memory object size # ACCESS CONTROL # ------------------------------------------------------------------------------ # Purge access - zope servers can purge but nobody else acl all src 0.0.0.0/0.0.0.0 acl zope_servers src 127.0.0.1 acl purge method PURGE http_access allow zope_servers purge http_access deny purge # REDIRECTOR PROGRAM # ------------------------------------------------------------------------------ url_rewrite_program /etc/squid/iRedirector.py url_rewrite_children 1 url_rewrite_concurrency 20 url_rewrite_host_header off # SPECIFY WHAT REQUESTS SQUID SHOULD CACHE # ------------------------------------------------------------------------------ # Control what squid caches. We want to have squid handle content that is not # personalized and that does not require any kind of authorization. # 1) Always cache static content in squid acl static_content urlpath_regex -i \.(jpg|jpeg|gif|png|tiff|tif|svg|swf|ico|css|js|vsd|doc|ppt|pps|xls|pdf|mp3|mp4|m4a|ogg|mov|avi|wmv|sxw|zip|gz|bz2|tgz|tar|rar|odc|odb|odf|odg|odi|odp|ods|odt|sxc|sxd|sxi|sxw|dmg|torrent|deb|msi|iso|rpm)$ cache allow static_content # Also need to override squid's built-in Authorization header filter refresh_pattern -i \.(jpg|jpeg|gif|png|tiff|tif|svg|swf|ico|css|js|vsd|doc|ppt|pps|xls|pdf|mp3|mp4|m4a|ogg|mov|avi|wmv|sxw|zip|gz|bz2|tgz|tar|rar|odc|odb|odf|odg|odi|odp|ods|odt|sxc|sxd|sxi|sxw|dmg|torrent|deb|msi|iso|rpm)$ 0 20% 4320 ignore-auth # 2) Prevent squid from caching an item that is the result of a POST acl post_requests method POST cache deny post_requests # 3) Prevent squid from caching requests from users authenticated via cookies acl ac_cookie req_header Cookie -i __ac acl zope_cookie req_header Cookie -i _ZopeId= cache deny ac_cookie cache deny zope_cookie ------------------------------------------------------------------------------ Here the access log ------------------------------------------------------------------------------ 2007/10/20 05:20:16| aclMatchAclList: checking all 2007/10/20 05:20:16| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0' 2007/10/20 05:20:16| aclMatchIp: '192.168.1.33' found 2007/10/20 05:20:16| aclMatchAclList: returning 1 2007/10/20 05:20:17| aclCheck: checking 'http_access allow zope_servers purge' 2007/10/20 05:20:17| aclMatchAclList: checking zope_servers 2007/10/20 05:20:17| aclMatchAcl: checking 'acl zope_servers src 127.0.0.1 ' 2007/10/20 05:20:17| aclMatchIp: '192.168.1.33' NOT found 2007/10/20 05:20:17| aclMatchAclList: no match, returning 0 2007/10/20 05:20:17| aclCheck: checking 'http_access deny purge' 2007/10/20 05:20:17| aclMatchAclList: checking purge 2007/10/20 05:20:17| aclMatchAcl: checking 'acl purge method PURGE' 2007/10/20 05:20:17| aclMatchAclList: no match, returning 0 2007/10/20 05:20:17| aclCheck: NO match found, returning 1 2007/10/20 05:20:17| aclCheckCallback: answer=1 2007/10/20 05:20:17| The request GET http://testsite.zehndergroup.com/ is ALLOWED, because it matched 'purge' 2007/10/20 05:20:17| aclCheck: checking 'cache allow static_content' 2007/10/20 05:20:17| aclMatchAclList: checking static_content 2007/10/20 05:20:17| aclMatchAcl: checking 'acl static_content urlpath_regex -i \.(jpg|jpeg|gif|png|tiff|tif|svg|swf|ico|css|js|vsd|doc|ppt|pps|xls|pdf|mp3|mp4|m4a|ogg|mov|avi|wmv|sxw|zip|gz|bz2|tgz|tar|rar|odc|odb|odf|odg|odi|odp|ods|odt|sxc|sxd|sxi|sxw|dmg|torrent|deb|msi|iso|rpm)$' 2007/10/20 05:20:17| aclMatchRegex: checking '/VirtualHostBase/http/testsite.zehndergroup.com:80/zehnderi/zehnderi/VirtualHostRoot/' 2007/10/20 05:20:17| aclMatchRegex: looking for '\.(jpg|jpeg|gif|png|tiff|tif|svg|swf|ico|css|js|vsd|doc|ppt|pps|xls|pdf|mp3|mp4|m4a|ogg|mov|avi|wmv|sxw|zip|gz|bz2|tgz|tar|rar|odc|odb|odf|odg|odi|odp|ods|odt|sxc|sxd|sxi|sxw|dmg|torrent|deb|msi|iso|rpm)$' 2007/10/20 05:20:17| aclMatchAclList: no match, returning 0 2007/10/20 05:20:17| aclCheck: checking 'cache deny post_requests' 2007/10/20 05:20:17| aclMatchAclList: checking post_requests 2007/10/20 05:20:17| aclMatchAcl: checking 'acl post_requests method POST' 2007/10/20 05:20:17| aclMatchAclList: no match, returning 0 2007/10/20 05:20:17| aclCheck: checking 'cache deny ac_cookie' 2007/10/20 05:20:17| aclMatchAclList: checking ac_cookie 2007/10/20 05:20:17| aclMatchAcl: checking 'acl ac_cookie req_header Cookie -i __ac' 2007/10/20 05:20:17| aclMatchAclList: no match, returning 0 2007/10/20 05:20:17| aclCheck: checking 'cache deny zope_cookie' 2007/10/20 05:20:17| aclMatchAclList: checking zope_cookie 2007/10/20 05:20:17| aclMatchAcl: checking 'acl zope_cookie req_header Cookie -i _ZopeId=' 2007/10/20 05:20:17| aclMatchAclList: no match, returning 0 2007/10/20 05:20:17| aclCheck: NO match found, returning 1 2007/10/20 05:20:17| aclCheckCallback: answer=1 2007/10/20 05:20:17| aclCheckFast: list: (nil) 2007/10/20 05:20:17| aclCheckFast: no matches, returning: 1 2007/10/20 05:20:17| Failed to select source for 'http://127.0.0.1:8080/VirtualHostBase/http/testsite.zehndergroup.com:80/zehnderi/zehnderi/VirtualHostRoot/' 2007/10/20 05:20:17| always_direct = 0 2007/10/20 05:20:17| never_direct = 0 2007/10/20 05:20:17| timedout = 0 2007/10/20 05:20:17| aclCheckFast: list: 0x8026f818 2007/10/20 05:20:17| aclMatchAclList: checking all 2007/10/20 05:20:17| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0' 2007/10/20 05:20:17| aclMatchIp: '192.168.1.33' found 2007/10/20 05:20:17| aclMatchAclList: returning 1 2007/10/20 05:20:17| aclCheck: checking 'http_reply_access allow all' 2007/10/20 05:20:17| aclMatchAclList: checking all 2007/10/20 05:20:17| aclMatchAcl: checking 'acl all src 0.0.0.0/0.0.0.0' 2007/10/20 05:20:17| aclMatchIp: '192.168.1.33' found 2007/10/20 05:20:17| aclMatchAclList: returning 1 2007/10/20 05:20:17| aclCheck: match found, returning 1 2007/10/20 05:20:17| aclCheckCallback: answer=1 2007/10/20 05:20:17| The reply for GET http://127.0.0.1:8080/VirtualHostBase/http/testsite.zehndergroup.com:80/zehnderi/zehnderi/VirtualHostRoot/ is ALLOWED, because it matched 'all'
begin:vcard fn:Robert Rottermann n: Rottermann;Robert email;internet:robert@xxxxxxxxx tel;work:++41 31 333 10 20 tel;fax:++41 31 333 10 23 tel;home:++41 31 333 36 03 x-mozilla-html:FALSE version:2.1 end:vcard