Click to See Complete Forum and Search --> : Cannot serve .html pages


anynick
02-04-2008, 06:39 AM
XP Pro SP2 with IIS 5:
A page such as test.html returns a 404 not found error.
The same page with a .htm suffix works OK i.e. test.htm.
Until yesterday the .html suffix worked fine.

If I add any given filename with a .html suffix to the default documents in IIS then it does work, but that is of course only for that specific file, not for the general .html suffix.

I must have done something stupid - but where is the setting in IIS that enables it to recognise .html as a valid suffix?

anynick
02-04-2008, 07:14 AM
OK, more experimentation:
Any file with ANY non-standard extension works OK - e.g. http://localhost/test.xxx serves up a test page.

It is ONLY the .html suffix that does not work.

I have checked the mappings in Web site - Properties - Home Directory - Configuration - Mappings, and there is no entry in the list for the .html suffix.

Is there anywhere else to look?