Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question
4  
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

1 Answer 1

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.

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

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

Your Answer

 
discard

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.