Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML not showing correctly in Netscapes

Status
Not open for further replies.

redsevens

IS-IT--Management
Aug 11, 2000
40
0
0
US
I think I have narrowed this problem down to Apache, but I am stuck. My web server seems to be doing everything correctly except when it comes to serving *.html pages to Netscape browsers. Any file that ends in .html does not get rendered; the source is shown as plain text in Netscape. When I view the same page in Opera or IE (all are in Windows, btw) the page gets rendered. When I copy the file to *.htm or *.php (not changing anything else), it gets rendered in Netscape fine. I am guessing that Apache is sending a "content-type: text/plain" for html files, but the DefaultType is text/html and there's even a line later in the config reading
Code:
AddType text/html .shtml .html
. I'm confused... has anybody else come across this problem before?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top