Re: IE 6 displays html files as source code

From: Ramesh [MVP] (ramesh_at_nojunkmails.com@mvps.org)
Date: 09/30/04


Date: Thu, 30 Sep 2004 12:22:44 +0530

Hi,

I came across this problem before, and identified that this is due to
"MIME_SNIFFING " issue in SP2. The reason why IE6 SP2 assumes HTM file as a
plain-text document is beyond me. Here is the workaround:

Open Registry Editor and navigate to:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Lockdown_Zones\0]

In the right-pane, set 2100 to 0.

Now open the HTML page which is stored locally. It should open fine.

Value 2100 corresponds to URLACTION_FEATURE_MIME_SNIFFING
(Open files based on content, not file extension)

[Related]
SP2 messed up my Aumha Home Page
http://forum.aumha.org/viewtopic.php?t=8065

-- 
Ramesh, MS-MVP XP Shell/UI
http://www.mvps.org/sramesh2k
"J. Campell" <campbelj@nightcats.com> wrote in message 
news:3db501c4a662$7a4fc330$a501280a@phx.gbl...
I have recently installed Service Pack 2. Since
installation, IE 6 displays html files as source code
when viewing files from my hard drive. The same files
display okay when viewed from the Web. I design my own
web sites and I need to see the pages before uploading
them. Can anyone tell me how to change this back so I can
display my local HTML files properly?  Thanks.