Hi guys I'm trying to get an HTTP request to pass through but it seems Squid is generating a redirect. With curl the request works fine if I don't use our proxy: visser@lenin:~$ curl -vv --noproxy '*' --header 'Host: rest.akismet.com' --data 'key=aaaaaaaaaaaa&blog=https%3A%2F%2Fblog.refeds.org' http://66.135.58.61/1.1/verify-key * About to connect() to 66.135.58.61 port 80 (#0) * Trying 66.135.58.61... connected * Connected to 66.135.58.61 (66.135.58.61) port 80 (#0) > POST /1.1/verify-key HTTP/1.1 > User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 > Accept: */* > Host: rest.akismet.com > Content-Length: 51 > Content-Type: application/x-www-form-urlencoded > < HTTP/1.1 200 OK < Server: nginx < Date: Wed, 16 Oct 2013 11:25:29 GMT < Content-Type: text/plain; charset=utf-8 < Content-Length: 7 < Connection: close < X-akismet-server: 192.168.6.135 < * Closing connection #0 When sent through Squid, the same request gives a redirect (301): * About to connect() to proxy proxy6.terena.org port 80 (#0) * Trying 2001:610:148:dead::20... connected * Connected to proxy6.terena.org (2001:610:148:dead::20) port 80 (#0) > POST http://66.135.58.61/1.1/verify-key HTTP/1.1 > User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15 > Accept: */* > Proxy-Connection: Keep-Alive > Host: rest.akismet.com > Content-Length: 51 > Content-Type: application/x-www-form-urlencoded > * HTTP 1.0, assume close after body < HTTP/1.0 301 Moved Permanently < Server: nginx < Date: Wed, 16 Oct 2013 11:26:19 GMT < Content-Type: text/html < Content-Length: 178 < Location: http://akismet.com/1.1/verify-key < X-Cache: MISS from proxy.terena.org < X-Cache-Lookup: MISS from proxy.terena.org:80 < Via: 1.0 proxy.terena.org (squid/3.1.19) * HTTP/1.0 connection set to keep alive! < Connection: keep-alive < <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx</center> </body> </html> * Connection #0 to host proxy6.terena.org left intact * Closing connection #0 I suspect this has something to do with name resolution, but I can't find what. Any ideas? Thanks!!! -- Dick Visser System & Networking Engineer TERENA Secretariat Singel 468 D, 1017 AW Amsterdam The Netherlands