RE: Squid and POST: does not work ?

From: PINTO Paulo Sergio <pspa@dont-contact.us>
Date: Wed, 8 Sep 1999 09:33:39 +0100

Hi again.

Ooops... you're right. In an attempt to keep the message 'tidy', i've
stripped down the squid.conf :-(
Here's the missing line:

cache_peer falcon.srd.pt parent 3128 3130 default no-query

Regarding your second question, it is a plain vanilla 2.2.STABLE4 (no
patches applied).

One thing I forgot was the message that users get in the browser:
        While trying to retrieve the URL: <[no URL]>
        The following error was encountered:
         - Zero Sized Reply
        Squid did not receive any data for this request.
Thx for your attention.
Paulo Pinto
SRD
pspa@sonae.pt

> ----- Mensagem original -----
> De: Henrik Nordstrom [SMTP:hno@hem.passagen.se]
> Enviada em: Terça-feira, 7 de Setembro de 1999 19:23
> Para: PINTO Paulo Sergio
> Assunto: Re: Squid and POST: does not work ?
>
> I don't see how anything could pass that Squid config, POST or not. You
> have configured it with never_direct, but have no parents configured,
> only one sibling. I guess you accidenly left out a cache_peer definition
> from the message?
>
> Is it a pure 2.2.STABLE4 release or have you applied any patches? Some
> of the early webdav patches had serious problems.
>
> --
> Henrik Nordstrom
> Spare time Squid hacker
>
>
> PINTO Paulo Sergio wrote:
> >
> > Hi.
> >
> > I've run over the FAQ but still can't find an answer to my problem.
> >
> > The problem is as simple as this: nobody can use POST method.
> > Yahoo mail, hotmail, etc etc is unavailable to my users (and they are a
> LOT
> > of them) if they use the squid as proxy.
> >
> > Linux Box Details:
> >
> > -Linux 2.2.5 (RH6) on a PII-450 Xeon Ibm NetFinity 5500
> > -Squid 2.2 Stable4
> >
> > Here goes squid.conf (well.. just the non-commented lines):
> >
> >
> --------------------------------------------------------------------------
> --
> > -----
> > http_port 80
> > icp_port 3130
> > tcp_incoming_address 192.168.7.53
> > udp_incoming_address 192.168.7.53
> >
> > cache_peer 192.168.7.50 sibling 80 3130 proxy-only
> > hierarchy_stoplist cgi-bin cgi php3 ?
> > acl QUERY urlpath_regex cgi-bin \?
> > no_cache deny QUERY
> > cache_mem 32 MB
> >
> > cache_dir /cache/squid/cache 3000 16 256
> > cache_access_log /usr/local/squid/logs/access.log
> > cache_log /usr/local/squid/logs/cache.log
> > cache_store_log /usr/local/squid/logs/store.log
> > emulate_httpd_log off
> > pid_filename /usr/local/squid/logs/squid.pid
> > debug_options ALL,1
> > log_fqdn off
> > cache_dns_program /usr/local/squid/bin/dnsserver
> > dns_children 15
> > unlinkd_program /usr/local/squid/bin/unlinkd
> > pinger_program /usr/local/squid/bin/pinger
> > authenticate_program /usr/local/squid/etc/auth/ldap_auth
> > authenticate_children 5
> > authenticate_ttl 3600
> > reference_age 1 week
> > quick_abort_min 16 KB
> > siteselect_timeout 4 seconds
> > request_timeout 90 seconds
> >
> > acl password proxy_auth REQUIRED
> > 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 SSL_ports port 443 563
> > acl Safe_ports port 80 21 443 901 563 500 70 210 1025-65535
> > acl CONNECT method CONNECT
> > acl s_sonae src 192.168.0.0/16
> > acl d_sonae dst 192.168.0.0/16
> > acl public snmp_community noway
> >
> > http_access deny manager
> > http_access deny !Safe_ports
> > http_access deny CONNECT !SSL_ports
> > http_access allow d_sonae
> > http_access allow s_sonae
> > http_access allow all password
> > http_access deny all
> >
> > icp_access allow all
> > miss_access allow all
> > cache_peer_access proxy.srd.pt allow all
> >
> > cache_mgr webmaster@sonae.pt
> > visible_hostname raptor.sonae.pt
> > logfile_rotate 1
> >
> > append_domain .sonae.pt
> > log_icp_queries on
> > icp_hit_stale off
> > minimum_direct_hops 5
> > never_direct allow all
> > minimum_retry_timeout 30 seconds
> > maximum_single_addr_tries 8
> >
> --------------------------------------------------------------------------
> --
> > -----
> >
> > What can be wrong ?
> >
> > Please help me get rid of (ugh) M$Proxy ... :/
> >
> > Paulo Pinto
> > SRD
> > pspa@sonae.pt
Received on Wed Sep 08 1999 - 02:53:14 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:22 MST