Click to See Complete Forum and Search --> : shtml doesnt work with nt 4.7 ?


TinaBanana
12-04-2003, 03:07 PM
my site has been online for a few months and i just decided to test it with netscape 4.7 for the heck of it, i didnt expected to see what i did.

it doesnt work AT ALL. i get a screen full of code.
is it something in my page or does netscape 4.7 not handle shtml?

im thinking of putting in a script that would foward netscape users to another index page. now the problem is the index page is updated daily and im not about to keep 2 pages up to date for the sake of less then 1% of users or whatever the stats are. but i would still like them to see something.
is there a script that will foward only netscape 4.7 to antoher page and leave the newer netscape with the good index page?

does anyone have other browsers to test this with? i only tested with ie 5.5 and well netscape 4.7 now

http://www.modeltractors.com

use this or any other inside page if using nt 4.7
http://www.modeltractors.com/customs.htm

Daria
12-04-2003, 03:57 PM
I just got "page cannot be displayed" message in IE 6, and code in NS 7

edited:
I copied the code and previewed the page locally in IE6, NS4 and NS7, all looks fine locally...

ray326
12-04-2003, 03:58 PM
Your web server configuration is screwed up. It's serving those pages with content-type text/plain instead of text/html. Any browser that is displaying those pages as anything other than source is displaying them incorrectly. I.e., Netscape is right.

Here your response headers if you're interested:

HTTP/1.x 200 OK
Date: Thu, 04 Dec 2003 21:56:33 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Accept-Ranges: bytes
Content-Length: 11454
Connection: close
Content-Type: text/plain

TinaBanana
12-04-2003, 07:01 PM
hmmmm how do i fix it????

fredmv
12-04-2003, 07:36 PM
You're going to have to contact your server administrator and tell him to make sure the pages are being sent with the correct MIME type of text/html.

TinaBanana
12-05-2003, 06:28 PM
this is horrible, so many ppl must not be able to see my site.
i contacted my server ppl and they said this

I check the mine type is text/html
and I use ie6 and oper 7 to tested your side. (modeltractors.com)

it is functional.



so what do i do now
what else could be wrong???

ray326
12-05-2003, 06:34 PM
Originally posted by TinaBanana
this is horrible, so many ppl must not be able to see my site.
i contacted my server ppl and they said this

I check the mine type is text/html
and I use ie6 and oper 7 to tested your side. (modeltractors.com)

it is functional.



so what do i do now
what else could be wrong???
Time to get a new hosting service. These guys obviously don't know what they're doing.

Jeff Mott
12-05-2003, 06:39 PM
http://www.modeltractors.com/customs.htm is serving out text/html, but http://www.modeltractors.com is text/plain. I'm assuming the difference being that your index page is .shtml rather than .htm. If this is the case then you will need to contact your server again and make sure they know this is happening with SSI documents. My guess is that they only checked the MIME type for HTML documents.

TinaBanana
12-05-2003, 06:47 PM
ok great answer...ill do that

can someone get me a screenshot of what they get with ie6
im sendint it to them to prove it
i installed netscape and mozilla and opera...but already have ie 5.5 and dont want to install 6
i know there is a way to install both but i dont want to screw with my oh so unstable computer

Jeff Mott
12-05-2003, 07:09 PM
What a browser displays doesn't make the point that the headers are wrong. You could have them do either, open the page in NS7 and go View->Page Info to see that the type is text/plain, or you could show them http://jmott.hypermart.net/get.pl?http://www.modeltractors.com/index.shtml to show that the header are coming back with text/plain.

TinaBanana
12-05-2003, 07:23 PM
wow thats cool
ill send them that.
they are just a bunch of morons over there
its very cheap and i know why
they always try to blame me when its their fault

TinaBanana
12-05-2003, 09:12 PM
this is what i got back from them

If the website works in one browser.that means the server has no problem. The problem is the presentation layer. Here is the browser and the source code. Expecially, java script different version of the browser will have different result. The best way is inside your code, you have program to check which version of the browser a client is using and use different routine.


i sure hope you guys are right cause i dont have much idea what im talken about ...here is what i replied

if it works in one browser and not the other it just means that different browser handle it differently.
i have attached 2 screenshot that display the problem clearly
info_other shows that the content type as text/html
but the info_index shows that its text/plain

the problem is with the shtml, it must be configured differently then the html pages are

thx for looking into this


so you guys are 100% that is what the problem is?

ray326
12-05-2003, 10:49 PM
Originally posted by TinaBanana
this is what i got back from them

If the website works in one browser.that means the server has no problem. The problem is the presentation layer. Here is the browser and the source code. Expecially, java script different version of the browser will have different result. The best way is inside your code, you have program to check which version of the browser a client is using and use different routine.
That absolutely proves they don't know what they're talking about. Anyone with any experience would know that IE discards the Content-type header and "sniffs" the incoming data, trying to "guess" what kind of stream it is.

Tell them to check it with telnet if they don't believe us. Of course they'll have no idea how to do that but it's just one more clue at how clueless they are.

so you guys are 100% that is what the problem is?
100% -- we're looking at what is happening at the HTTP protocol level and the only thing that can cause what we're seeing is a misconfigured web server. The browsers have nothing to do with it.

Jeff Mott
12-06-2003, 12:59 PM
Agreed. You should get a new host just because the one you have now is apparently computer illiterate.

And yes, we are 100% sure. SSI documents are return a content type of text/plain when they should be returning text/html.