5

Trying to setup custom HTTP Response Headers on a new install of IIS7.5 on Windows Server 2008 R2 Standard and they are not working. Default headers work fine (X-Powered-By, etc...). Modifying default header values work (ie. change X-Powered-By to ASP.NET2). Modifying default header names cause header to stop being output (ie. Change X-Powered-By to X-Powered-By2).

Site in question is a test site with a single html page. Custom headers also don't work on ASP.NET 2.0 site.

I've tried setting the headers at the global level and at the site level to no effect.

3

Issue ended up being our firewall stripping the response headers out. Firewall had a list of approved headers and defaulted to stripping any not on the list.

0

Try enabling FREB. While it's not a 'failed request', FREB often gives me insight into what IIS is doing that I wouldn't have known otherwise.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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