Re: [squid-users] X-Forwarded-For: header

From: Frank Liu <fliu@dont-contact.us>
Date: Wed, 29 Jan 2003 15:09:33 -0800 (PST)

On Wed, 29 Jan 2003, Henrik Nordstrom wrote:
> Frank Liu wrote:
>
> > 2) is it possible to config quid to send a user defined IP (say
> > the IP of the proxy server itself), rather than "unknown" ?
>
> Should be possible to change the header to say whatever you feel like
> via header_replace.

I actually tried that a few days ago (see my other post) and it didn't
work, which made me believe "header_replace" would only work for
headers set from the client, not for those headers set by squid itself.

Now I re-read the squid.conf, maybe I have to "header_access" to deny
this header first, before "header_replace" can work???

thanks!
frank

>
> > on a related one, is it possible to "insert" an customer HTTP header?
>
> Not without first coding the feature I think.. but maybe header_replace
> can be used..
>
> Regards
> Henrik
>
Received on Wed Jan 29 2003 - 16:09:39 MST

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