Forum Moderators: open
I've installed Apache2 on my PC and created a simple test page :
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"http-equiv="content-type">
<title>Testing</title>
</head>
<body>
<h1>My test page</h1>
<p>Testing 1 2 3</p>
</body>
</html> This works fine in IE6/7, but FF2 displays the following:
Server: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.1 Last-Modified: Sat, 31 Mar 2007 14:55:02 GMT ETag: "1dd7320-113-2c359d80" Accept-Ranges: bytes Keep-Alive: timeout=5, max=100 Content-Type: text/html Transfer-encoding: chunked 69 fb
My test pageTesting 1 2 3
e 0
Using the FF live headers extension I get:
http://127.0.0.2:8080/testing.htmGET /testing.htm HTTP/1.1
Host: 127.0.0.2:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
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-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-aliveHTTP/1.x 200 OK
Which appears to be OK.
I thought the problem might be caused by one of the FF extensions I have installed, so I installed a clean copy FF, but this didn't help. The really odd thing is last night, the page appeared correctly once when I hit refresh.
I've also tried reinstalling Apache and disabling ZoneAlarm.
Does anyone have any suggestions what else to try? I could just use IE but I prefer to test first using FF.
Steve
<added>I've just tried the page in Opera, it displays fine!</added>
Etag: "2f30-11b-fd45f66c"
I did some searching and it seems to be part of the HTTP protocol [w3.org]. As far as anything else I've never heard of it myself. If you want to learn more try posting in the Webmaster General forum I would guess?
- John
There are two differences between your headers and mine (I'm assuming those are your server headers being returned in the quotation block right above the HTML output):
mod_autoindex_color
Transfer-encoding: chunked 69 fb
IE ignores it, while FF doesn't. No one mentions a cure, and I for one don't know enough about Apache and headers to figure it out.
All I want to do is learn a bit of PHP and mySQL programming, so for now I'll use Opera, which is very quick and I'm kinda getting to like!
Our posts must have crossed. I tried your suggestion, but I still get the headers and random characters displayed:-
FF Screen:
Server: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d PHP/5.2.1 Last-Modified: Sat, 31 Mar 2007 14:55:02 GMT ETag: "1dd7320-113-2c359d80" Accept-Ranges: bytes Keep-Alive: timeout=5, max=100 Content-Type: text/html Transfer-encoding: chunked 69 fb
My test pageTesting 1 2 3
e 0
Live header tool:
http://127.0.0.2:8080/testing.htmGET /testing.htm HTTP/1.1
Host: 127.0.0.2:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
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-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Control: max-age=0HTTP/1.x 200 OK
Thanx for the suggestion
Steve
I've also tried turning off IIS, this didn't work either.
I've got to admit I was convinced FF was the problem, but last night Opera displayed a few mangled pages. IE still hasn't shown one.
I'll dig a little deeper over the weekend.
Steve