Knowledge Base

IIS 4.0 Applies Footers To All Documents For a Given Vroot

Article ID: 188491

Article Last Modified on 6/23/2005


APPLIES TO


This article was previously published under Q188491
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:

SYMPTOMS

When the Microsoft Internet Information Server 4.0 option Append Footers is selected for a given virtual root, all files and/or documents downloaded from that v-root will have footers appended regardless of document type. For example, HTML, ASP, EXE, GIFs, JPGs, and so on will all have footers appended. In some cases this will cause the browser downloading the file or document to hang.

CAUSE

Some documents will download with no problem due to the document's format. Other documents do not have a length indicator, which causes the file being downloaded to become corrupted due to the appended footer.

WORKAROUND

To work around this problem, use one of the following methods:
The following example shows how to set this attribute for one document:
   Mdutil set /w3svc/1/root/foo.htm/FooterEnabled  0
				

The following example shows how to set this attribute for an entire group of documents:
   For %%I in (*.exe) mdutil set /w3svc/1/root/%%I/FooterEnabled 0
				

Additional query words: hang stuck frozen bogus footer

Keywords: kbbug KB188491