Author: jigkin21 | Posted on: 7/27/2010 11:50:35 AM | Views : 776

Hi Everyone,
We have 5 production servers in my company. Each server contains almost 50 sites. To hide the ASP.NET version, we have added <httpRuntime enableVersionHeader="false" /> line  into web.config file for majority of the sites and pages. However, I have found that there are few sites and pages doesn't have this line added. Now, it's a pain in a neck to add the line under web.config file for each individual site and the pages. Additionally, we have to do this change into all 5 production servers.
So after my little research, I found that I can simply add this line into machine.config file which will take care of the entire server.
However, I have one silly question. Will this change affect those sites and pages whichever's web.config file already has this line added? OR I have to remove this line from the web.config and then I can add into machine.config? OR It doesn't matter if I keep on both places (web.config and mach ...

Go to the complete details ...