HighDots Forums  

HTML is not displayed but downloaded ! Please help !

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss HTML is not displayed but downloaded ! Please help ! in the HTML forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Razvan
 
Posts: n/a

Default Re: HTML is not displayed but downloaded ! Please help ! - 08-19-2004 , 04:35 PM






kaeli <tiny_one (AT) NOSPAM (DOT) comcast.net> wrote

Quote:
In article <15f19d61.0408182313.145d36a6 (AT) posting (DOT) google.com>, mihai11
@mailcity.com enlightened us with...


I have a big problem with my web site www.mihaiu.name.
Sometimes when I visit my page with IE6 the browser ask me to download
the index.html file !

Sometimes?

When it does that, have you checked that the server is serving the correct
mime type?
Please tell me how do I get the returned mime type ? Is there
a tools that allows me to do that ? I was thiking that a simple telnet
session would allow me to do that, but unfortunately I am unable to
connect:

telnet www.mihaiu.name 80

Connecting To www.mihaiu.name...Could not open connection to the host,
on port 80: Connect failed



Thnanks,
Razvan


Reply With Quote
  #12  
Old   
kaeli
 
Posts: n/a

Default Re: HTML is not displayed but downloaded ! Please help ! - 08-19-2004 , 04:52 PM






In article <15f19d61.0408191235.6e21bc97 (AT) posting (DOT) google.com>, mihai11
@mailcity.com enlightened us with...
Quote:
Please tell me how do I get the returned mime type ? Is there
a tools that allows me to do that ? I was thiking that a simple telnet
session would allow me to do that, but unfortunately I am unable to
connect:

See my other message to you.
Your mime type is fine. I checked.
http://www.delorie.com/web/headers.html

--
--
~kaeli~
Any sufficiently advanced technology is indistinguishable
from magic.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace



Reply With Quote
  #13  
Old   
Razvan
 
Posts: n/a

Default Re: HTML is not displayed but downloaded ! Please help ! - 08-20-2004 , 01:02 AM



kaeli <tiny_one (AT) NOSPAM (DOT) comcast.net> wrote

Quote:
In article <15f19d61.0408191235.6e21bc97 (AT) posting (DOT) google.com>, mihai11
@mailcity.com enlightened us with...

Please tell me how do I get the returned mime type ? Is there
a tools that allows me to do that ? I was thiking that a simple telnet
session would allow me to do that, but unfortunately I am unable to
connect:


See my other message to you.
Your mime type is fine. I checked.
http://www.delorie.com/web/headers.html
Thanks. Indeed, the headers are OK.


Reply With Quote
  #14  
Old   
jmm-list-gn
 
Posts: n/a

Default Re: HTML is not displayed but downloaded ! Please help ! - 08-20-2004 , 01:03 AM



Razvan wrote:
Quote:
UPS ! You are right. The main index.html has no DOCTYPE. I
just change it. However, all the other pages have the proper DOCTYPE
but some of them are not loading. Anyway, when I get back to work I'll
try again to see what will happen.

When did this problem start? What changed about that time? Was anything
installed or removed?
What kind of network connection do you have? Dialup? Wireless? DSL?
Do you have a firewall installed and operating?
Quote:
Actually, the whole site is hand made. My "content
management" is UltraEdit - a nice text editor for windows)

Hm. It expands tabs with 10 spaces. Rather excessive.

Quote:
Sometimes server side programs can be twitchy especially if an unhandled
error occurs.

What do you mean by that ?

Depending on the configuration you may get nothing from a server side
content manager, bizarre error messages, or even random binary data.


--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
  #15  
Old   
Pierre Goiffon
 
Posts: n/a

Default Re: HTML is not displayed but downloaded ! Please help ! - 08-20-2004 , 06:32 AM



"Razvan" <mihai11 (AT) mailcity (DOT) com> a écrit dans le message de
news:15f19d61.0408191230.287bdd74 (AT) posting (DOT) google.com
Quote:
Are your
pages served by a web server farm ?

I have no ideea ! What is the problem with the server farm ?
How can I find out this ?
Very often when more than 1 server are serving pages for a website, one of
the server is misconfigured. Ask your hosting service ?



Reply With Quote
  #16  
Old   
Razvan
 
Posts: n/a

Default Re: HTML is not displayed but downloaded ! Please help ! - 08-20-2004 , 06:58 AM



Quote:
When did this problem start?
The problem started some 4 weeks ago. From my point of view
nothing has changed because I was not updating my site at the time.

What changed about that time?

Anyway, since that happened, I started some trial and error tests
and I realized that putting the DOCTYPE header would solve most of the
problems. As of today all the *.html files have the DOCTYPE header and
everything is OK except for the photos directory. For this directory
the behavior is unusual:

a. if I invoke the directory with:

www.mihaiu.name/photos/index.html

I only get garbage.

b. if I invoke with

www.mihaiu.name/photos

EVERYTHING is OK. Can you understand the reason ?!! To me it seems
like random behavior.


Some strange side effect with my IE is that after putting DOCTYPE
in front of the main 'index.html' I get JavaScript errors. Currently I
had no time to investigate this. I am 100% sure that I have not
changed anything except adding the DOCTYPE and now the page has
JavaScript errors.


Quote:
Was anything installed or removed ?
You mean on the server ? It is possible. I don't know what the
ISP is doing.


Quote:
What kind of network connection do you have? Dialup? Wireless? DSL?
Do you have a firewall installed and operating?
The problems that I am telling you about occur when I am at
work. Here I do have a firewall, that is 100% sure. As for the
connection type I do not know: this is a big organization (anyway it
is a permanent connection, if that helps).

But I do not see where you are going. Let's suppose that I have
wireless. What could be the problem with that ?! This is a low-level
protocol. Applications doing HTTP are not aware of the underlying
implementation: could be Ethernet, Wireless, DSL ... it does not
matter.


Quote:
Hm. It expands tabs with 10 spaces. Rather excessive.
This must be an option somewhere. I assure you that by default
the tab is 8 spaces.


Quote:
What do you mean by that ?

Depending on the configuration you may get nothing from a server side
content manager, bizarre error messages, or even random binary data.
I do not use any server-side content manager. I edit the file
locally, test them with a local Apache then ftp the results to the
site.



Regards,
Razvan


Reply With Quote
  #17  
Old   
kaeli
 
Posts: n/a

Default Re: HTML is not displayed but downloaded ! Please help ! - 08-20-2004 , 09:00 AM



In article <15f19d61.0408200258.5721281f (AT) posting (DOT) google.com>, mihai11
@mailcity.com enlightened us with...
Quote:

Some strange side effect with my IE is that after putting DOCTYPE
in front of the main 'index.html' I get JavaScript errors. Currently I
had no time to investigate this. I am 100% sure that I have not
changed anything except adding the DOCTYPE and now the page has
JavaScript errors.

That's not a side effect. That's what happens when your javascript was
relying on "quirks mode", which is what IE goes into when you don't supply a
doctype or supply one with no URL.

So, on the bright side, you found some errors you can fix.

--
--
~kaeli~
Acupuncture is a jab well done.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace



Reply With Quote
  #18  
Old   
jmm-list-gn
 
Posts: n/a

Default Re: HTML is not displayed but downloaded ! Please help ! - 08-20-2004 , 02:56 PM



Razvan wrote:
Quote:
When did this problem start?

The problem started some 4 weeks ago. From my point of view
nothing has changed because I was not updating my site at the time.

I am asking about your personal (or office) computer, not the website.

Quote:
a. if I invoke the directory with:
www.mihaiu.name/photos/index.html
I only get garbage.
b. if I invoke with
www.mihaiu.name/photos

EVERYTHING is OK. Can you understand the reason ?!! To me it seems
like random behavior.

I cannot duplicate the error. But then I am not using IE.

Some strange side effect with my IE is that after putting DOCTYPE
in front of the main 'index.html' I get JavaScript errors. Currently I
had no time to investigate this. I am 100% sure that I have not
changed anything except adding the DOCTYPE and now the page has
JavaScript errors.

Yes, you have a lot of minor errors in your javascript.

Quote:
Was anything installed or removed ?

You mean on the server ? It is possible. I don't know what the
ISP is doing.

No, your local computer.

The problems that I am telling you about occur when I am at
work. Here I do have a firewall, that is 100% sure. As for the
connection type I do not know: this is a big organization (anyway it
is a permanent connection, if that helps).

It would indicate some configuration problem either with your office
network or your office computer.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.