Closed Bug 290074 Opened 20 years ago Closed 17 years ago

page displays as HTML code instead of the web page.

Categories

(Tech Evangelism Graveyard :: English Other, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dst-pierre, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

The HTML is not rendered at all.
works fine in IE.

Reproducible: Always

Steps to Reproduce:
1.goto http://www.gervaiselectronics.ca
2.click engish
3.you get HTML code instead of the web page.

Actual Results:  
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Gervais Electronics Corporate Page</title>

</head>

<frameset rows="120,*" border="0" framespacing="0" frameborder="0">
<frame src="top.asp" name="top" marginwidth="0" marginheight="0" topmargin="0"
leftmargin="0" scrolling="NO" noresize>
<frameset cols="154,*" border="0" framespacing="0" frameborder="0">
<frame src="menu.asp" name="menu" noresize scrolling="auto" target="main">
<frame src="main.asp" name="main" noresize>
</frameset>

</frameset>

</html

Expected Results:  
rendered the page
They are sending the page as Content-Type: text/plain, so it is shown as text.
You can check this just looking at PageInfo

Log from LiveHTTPheaders:

http://www.gervaiselectronics.ca/eng_index.asp

GET /eng_index.asp HTTP/1.1
Host: www.gervaiselectronics.ca
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050329
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,de-de;q=0.8,fr-fr;q=0.5,es;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.gervaiselectronics.ca/

HTTP/1.x 200 OK
Date: Wed, 13 Apr 2005 16:19:18 GMT
Server: Apache/1.3.33 (Unix) PHP/4.3.9 mod_ssl/2.8.22 OpenSSL/0.9.7e
Last-Modified: Sat, 26 Jul 2003 18:14:26 GMT
Etag: "3b73b-2b3-3f22c502"
Accept-Ranges: bytes
Content-Length: 691
Keep-Alive: timeout=15, max=49
Connection: Keep-Alive
Content-Type: text/plain
----------------------------------------------------------
The given URL is gone. The homepage of the domain is sent with the correct mediatype.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.