IIS 7.5 Custom HTTP Response Headers Not Working
Posted
by Craig
on Server Fault
See other posts from Server Fault
or by Craig
Published on 2010-04-16T15:44:18Z
Indexed on
2010/04/16
15:54 UTC
Read the original article
Hit count: 1035
iis7.5
|http-headers
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.
© Server Fault or respective owner