[squid-users] Unable to replace HTTP_Referer

From: <[email protected]>
Date: Wed, 21 May 2003 07:22:08 +0900

Hi All,

I'm trying to replace HTTP_Referer header, but I cant.

[network configuration]

       +--------+ +--------+
PC --> | squid1 | --> | squid2 | --> internet
       +--------+ +--------+

[squid configuration]
 Version: squid-2.5.STABLE2
   *squid1
      cache_peer squid2 parent 8080 7 no-query
      never_direct allow all
      acl SECRET referer_regex ^http://secret
      header_access Referer deny SECRET
      header_replace Referer http://edited-secret
     
   *squid2
      squid2 is just proxy.

I would like to replace HTTP_Referer headers on squid1,but it doesn't work
(I checked the debug logs on squid1 and referer logs on squid2).
I could replace HTTP_Referer headers on squid2, but I'd like to do same thing on squid1!

Anybody knows this problem? I couldn't find any information about this problem in FAQ etc...
Can squid1 replace HTTP_Referer by other method?

Thanks a lot
Tomi

--
yjid_ybb77@ybb.ne.jp
Received on Tue May 20 2003 - 16:21:22 MDT

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