Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Add server name to HTTP Headers automatically

$
0
0

Hello,

I've been fooling around with IIS Shared configuration and one of the things I like to do in a cluster is set a HTTP Header with some form of way of identifying which server it's coming from.  Say when you're troubleshooting, you can run Fiddler and see that the problem is coming from Web05 for instance.

I've successfully setup IIS Shared configuration and don't know how to do this from the root level.  I'm wondering if it's possible to pass in the server name automatically into the HTTP header.  This would allow the applicationHost.config be the same across all servers, but it would uniquely identify the server name.

My other thought was assigning the Header to each individual site which would create a unique web.config file.  I'm also in the process of setting up DFS for our sites so this is also a problem.  I may set an option to not replicate web.config files, but it seems like I may have no choice. 

Thanks!


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>