IE 6 displays html files as source code

J

J. Campell

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.
 
R

Ramesh [MVP]

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


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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top