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

I've recently started working on an IIS7 server that contains a staticContent node in the applications web.config file. It is being used to to append Google Analytics code to the bottom of every page on the site.

What I am looking to do is have the server only append the footer to specific file types. Primarily just html files.

Is this possible?


share|improve this question
It should only do it for static html pages, c.f.forums.iis.net/t/1151352.aspx –  Grizly Aug 26 '10 at 5:38
Thats what I thought. For some reason, it is applying it to our JS files as well. –  Chris Gutierrez Sep 9 '10 at 21:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.