[squid-users] FW: Forwarding loop with servlets

From: richard skeggs <rickskeggs@dont-contact.us>
Date: Fri, 22 Oct 2004 10:36:42 +0100 (BST)

 

>I have been able to get squid to proxy html and jsp
pages but when it

>comes to handling java servlet pages I keep getting
the following

>error:

>2004/10/22 09:45:57| WARNING: Forwarding loop
detected for: GET

>/esav/servlet/ddrint HTTP/1.0

>Accept: */*

>I am getting desperate to sort this out as I am
drawing the conclusion

>that squid cant handle the ability to proxy servlets.
I have enclosed

>my squid config file.

>==> /usr/local/squid/conf/hosts <==

>10.14.1.150 eghapp

>10.14.1.151 eghsnap1

>10.14.2.26 eghntap1

>==> squid.conf <==

>http_port 80

>cache_peer 10.14.1.151 parent 8080 0 no-query

>acl esav urlpath_regex ^/esav

>cache_peer_access 10.14.1.151 allow esav

>cache_peer 10.14.2.26 parent 8080 0 no-query

>acl ddrint urlpath_regex ^/ddrint

>cache_peer_access 10.14.2.26 allow ddrint

 

>hierarchy_stoplist cgi-bin ?

>acl QUERY urlpath_regex cgi-bin \?

>no_cache deny QUERY

>acl servlet urlpath_regex servlet \?

>no_cache deny servlet

>hosts_file /usr/local/squid/conf/hosts

>auth_param basic children 5

>auth_param basic realm Squid proxy-caching web server
auth_param basic

>credentialsttl 2 hours

>refresh_pattern ^ftp: 1440 20% 10080

>refresh_pattern ^gopher: 1440 0% 1440

>refresh_pattern . 0 20% 4320

>acl all src 0.0.0.0/0.0.0.0

>acl manager proto cache_object

>acl localhost src 127.0.0.1/255.255.255.255

>acl eghntap1 src 10.14.2.26

>acl eghsnap1 src 10.14.1.151

>acl eghapp src 10.14.1.150

>acl domain dstdomain emeademo.mobius.com

>acl SSL_ports port 443 563

>acl CONNECT method CONNECT

>acl Safe_ports port 8080 80

>http_access allow manager localhost

>http_access deny manager

>http_access deny !Safe_ports

>#http_access deny CONNECT !SSL_ports

>http_access allow Safe_ports

 

>http_access allow domain

>http_access allow eghntap1

>http_access allow eghapp

>http_access allow eghsnap1

>http_access deny all

>http_reply_access allow all

>icp_access allow all

 

>visible_hostname emeademo.mobius.com

>#unique_hostname emeademo.mobius.com

>unique_hostname 10.14.1.150

>httpd_accel_port 0

>httpd_accel_host virtual

>httpd_accel_uses_host_header on

>httpd_accel_with_proxy on

>strip_query_terms off

>coredump_dir /usr/local/squid/var/cache

 

        
        
                
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
Received on Fri Oct 22 2004 - 03:36:48 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST