so i have tried couple of things but stil there is a problem:
when accessing some pages i'm gettings this error:
ERROR
The requested URL could not be retrieved
Invalid Request error was encountered while trying to process the request:
GET /home/0,7340,L-8859-59304,00.html HTTP/1.1
Host: hot.ynet.co.il
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101
Firefox/9.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Referer: http://www.ynet.co.il/home/0,7340,L-8,00.html
Cookie: __utma=1.296661974.1325193380.1325193380.1325193380.1;
__utmb=1.1.10.1325193380; __utmc=1;
__utmz=1.1325193380.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
Some possible problems are:
Request is too large.
Content-Length missing for POST or PUT requests.
Illegal character in hostname; underscores are not allowed.
HTTP/1.1 "Expect:" feature is being asked from an HTTP/1.0 software.
Your cache administrator is webmaster.
Generated Thu, 29 Dec 2011 21:17:20 GMT by squid31012 (squid/3.2.0.14)
it's a testing machine with ubuntu 11.10
squid 3.2.0.14 as a tproxy.
building options:
Squid Cache: Version 3.2.0.14
configure options: '--prefix=/opt/squid32014' '--includedir=/include'
'--mandir=/share/man' '--infodir=/share/info'
'--localstatedir=/opt/squid32014/var' '--disable-maintainer-mode'
'--disable-dependency-tracking' '--disable-silent-rules'
'--enable-inline' '--enable-async-io=8' '--enable-storeio=ufs,aufs'
'--enable-removal-policies=lru,heap' '--enable-delay-pools'
'--enable-cache-digests' '--enable-underscores' '--enable-icap-client'
'--enable-follow-x-forwarded-for'
'--enable-digest-auth-helpers=ldap,password'
'--enable-negotiate-auth-helpers=squid_kerb_auth'
'--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group'
'--enable-arp-acl' '--enable-esi--disable-translation'
'--with-logdir=/opt/squid32014/var/log'
'--with-pidfile=/var/run/squid32014.pid' '--with-filedescriptors=65536'
'--with-large-files' '--with-default-user=proxy'
'--enable-linux-netfilter' '--enable-ltdl-convenience'
with the same options i built versions 3.2.0.5 till 3.2.0.14
my squid.conf file :
#
# Recommended minimum configuration:
#
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl ee src 192.168.0.0/16
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl localnet src fc00::/7 # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged)
machines
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
#
# Recommended minimum Access Permission configuration:
#
# Only allow cachemgr access from localhost
http_access allow ee
http_access allow localhost manager
http_access deny manager
# Deny requests to certain unsafe ports
http_access deny !Safe_ports
# Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost
# And finally deny all other access to this proxy
http_access deny all
# Squid normally listens to port 3128
http_port 3129 tproxy
http_port 3128
# Uncomment and adjust the following to add a disk cache directory.
#cache_dir ufs /opt/squid32014/var/cache/squid 100 16 256
# Leave coredumps in the first cache dir
coredump_dir /opt/squid32014/var/cache/squid
# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
#end of squid.conf
i compiled on the same machine 3.1.18 and it works fine.
i will try later to compile 3.2.0.13 and the daily updated 3.2.0.14
with what to start?
Eliezer
On 22/12/2011 02:13, Eliezer Croitoru wrote:
> updated to squid 3.2.0.14 and then
> i'm getting a page of "request-too-large" while trying to use facebook.
>
> so what i did after searching for anything like that in the past of
> squid to add
> reply_header_max_size 30 KB
> to the config and it works but squid is moving so slow so i switched
> back to 3.2.0.8.
>
> Thanks
> Eliezer
Received on Thu Dec 29 2011 - 21:24:07 MST
This archive was generated by hypermail 2.2.0 : Fri Dec 30 2011 - 12:00:06 MST