-1

I have an IIS-6 and i want to find a way that the server do not send REFERRER header response. How can i do it ?

10x

haim evgi
  • 753
  • 1
  • 10
  • 15
  • 4
    Servers don't send a Referer: (sic) header. – adaptr May 01 '12 at 10:43
  • adaptr is correct, "Referer:" is a request header, i.e. sent by the browser. – ThatGraemeGuy May 01 '12 at 10:48
  • i do a redirect call from the iis server, did i can control the referer? – haim evgi May 01 '12 at 11:03
  • @haimevgi There isn't one to control in the response. Do you mean that you don't want the client to send that header to the new location's server when you redirect them? If that's the case then the answer is no - you can't tell the client to stop following the HTTP spec simply because you don't want the new site to see where the client was redirected from. – Shane Madden May 01 '12 at 17:29

1 Answers1

2

X-Forwarded-For is inserted by an HTTP proxy, not by your IIS server. If you're getting it directly from your IIS server, then it thinks it's acting as a proxy... which is less likely. More likely is that you have a proxy somewhere that either you don't know about or that you forgot about.

http://en.wikipedia.org/wiki/X-Forwarded-For

tylerl
  • 15,055
  • 7
  • 51
  • 72