I have a Windows Server 2k8 machine that I am trying to host some vanilla html pages on under the default website as a virtual directory. When I try to view the page, no html is returned. I have an application under the default website and that renders the aspx pages in it fine.

Placing an aspx file in the virtual directory works, but plain HTML does not.

Any ideas what the problem is?

link|improve this question

feedback

1 Answer

up vote 4 down vote accepted

You need to enable the static content role service, see this article about installing IIS7:

alt text

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.