Markus Nilsson wrote the following on 10.11.2011 14:40: > You could just print the input string you get from Squid to a log file to see the syntax. OK, did that. Didn't change a thing about the actual rewriting code, but, what can I say, it works now: # squidclient http://www.siegel.de HTTP/1.0 302 Moved Temporarily Server: squid/2.7.STABLE3 Date: Fri, 11 Nov 2011 11:38:04 GMT Content-Length: 0 Location: http://www.spiegel.de/ X-Cache: MISS from 254.5.28.10.in-addr.arpa X-Cache-Lookup: HIT from 254.5.28.10.in-addr.arpa:3128 Via: 1.1 254.5.28.10.in-addr.arpa:3128 (squid/2.7.STABLE3) Connection: close <me>scratches head...</me> Dunno what went wrong before... Anyway, thanks a lot for your help! Cheers, Tobias