Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 ?


share|improve this question
Servers don't send a Referer: (sic) header. – adaptr May 1 '12 at 10:43
adaptr is correct, "Referer:" is a request header, i.e. sent by the browser. – ThatGraemeGuy May 1 '12 at 10:48
i do a redirect call from the iis server, did i can control the referer? – haim evgi May 1 '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 1 '12 at 17:29
up vote 2 down vote accepted

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.

share|improve this answer
sorry my fault i mean referrer, i change my question – haim evgi May 1 '12 at 10:21
The Referer header is sent by your browser, not by your server. – tylerl May 1 '12 at 17:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.