Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > web page parsing

 
web page parsing
Thread Tools
Fresh-Faced Recruit
Join Date: Nov 2000
Location: Fallbrook, CA USA
Status: Offline
Feb 22, 2002, 12:36 AM
 
My web page looks fine in IE, but displays as html code in Netscape. Any ideas of what is happening?
     
Junior Member
Join Date: Apr 2001
Location: Sunnyvale, CA
Status: Offline
Feb 22, 2002, 01:55 AM
 
Are you opening the file directly, or are you passing it through a web server? Also, what extension does the file have?

My guess is that the "Content-Type" header isn't set, and IE renders it as HTML anyway, but Netscape is rendering it as plain text (although it should render as HTML if the file has a ".htm" or ".html" extension).
     
spcalia  (op)
Fresh-Faced Recruit
Join Date: Nov 2000
Location: Fallbrook, CA USA
Status: Offline
Feb 22, 2002, 09:15 AM
 
Originally posted by ryochiji:
<STRONG>Are you opening the file directly, or are you passing it through a web server? Also, what extension does the file have?

My guess is that the "Content-Type" header isn't set, and IE renders it as HTML anyway, but Netscape is rendering it as plain text (although it should render as HTML if the file has a ".htm" or ".html" extension).</STRONG>
I am getting this page from an OS X Server running Apache. It is running inside the WebSite Directory and it has a .html extension.

Any iideas?
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2