Hello list! I've tried to find an answer to this, but in vain... Basically I want Squid (2.5) to replace an ip-adress with a hostname in the Referer part of the header. So I tried: acl HOSTIP referer_regex ^http://10\.10\.101\.145 header_access Referer deny HOSTIP header_replace Referer http://internal.name.iwant But the bad thing is that an Referer like: http://10.10.101.145/dir1/dir2 is rewritten: http://internal.name.iwant - without the directory trailers and the receiving web application fails because of this. Can it be done to replace only the matching PART of the Referer and keep the rest? Regards Knut Berg
