Forum Moderators: phranque

Message Too Old, No Replies

? Pages are downloaded to Temporary Internet Files and shown offline

         

stippo

12:10 am on May 2, 2004 (gmt 0)

10+ Year Member


I need help - urgent!

HTML pages are downloaded to Temporary Internet Files and shown offline only!

Entering an URL into the adressbar of Internet Explorer and surf to the page or clicking a link (on a website) to the URL (ie: http://www.mysite.com/anypage.html) loads the page into the Temporary Internet Files and shows the page offline (ie: C:\WINDOWS\Temporary Internet Files\Content.IE5\8YZ6V0S2\anypage[1].html)!

I tried different settings in Internet Explorer - nothing!
I assume itīs not an IE problem at all, because I donīt see this problem if I surf other sites (not on my server)!

So Iīm sure itīs my server settings/config/something!

Any ideas?

SlowMove

12:19 am on May 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm not sure I understand. Maybe try a different browser and see what happens

jdMorgan

12:28 am on May 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



stippo,

Welcome to WebmasterWorld [webmasterworld.com]!

Check your server headers [webmasterworld.com]. HTML pages should have a header indicating their MIME-type as "text/html".
Without that header, the browser may not know how to handle the file.

If the MIME-type header is present and correct, then it is likely that your HTML code is (very) invalid - Use the HTML validator at w3c.org to fix it.

Without any further description of your site and your host (new site? new host? Do other page types work?), that's all I can think of.

Jim

stippo

10:59 am on May 2, 2004 (gmt 0)

10+ Year Member



Thanks for your answers!

Iīve moved my domain to a new host!
Before I moved they worked without problems!

PHP pages do work (Iīve changed some of the sites from html to php to see what happens)!
HTML pages are downloaded only!

As far the headers - I thought of it already and added
this as very first line to the html documents:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
and this in the meta section:
<meta http-equiv="Content-Type" content="text/html">

Still no luck!

I canīt change all sites to php because there are more than 15000 pages - also I donīt want to loose my SE rankings for the existing pages!

Is there a way to do something with htaccess (I donīt have root access)?

Perhaps my existing htaccess is causing the problem!
I should have built shtml sites because I need to include .txt files in my sites!
But I made html sites.
So I use htaccess to tell the server to parse the html sites like shtml sites:

Options +FollowSymlinks
Options Indexes FollowSymLinks Includes
AddType text/x-server-parsed-html .html

Not sure whether this is causing the problem!
On the other hand - PHP sites are server-parsed, too - and they work!
Now I removed it from htaccess, but it still donīt work!

More ideas?

-

stippo

11:11 am on May 2, 2004 (gmt 0)

10+ Year Member



GOT IT!

I think I was to tired last night to find a solution!

It WAS the htaccess!

I changed:
AddType text/x-server-parsed-html .html
to:
AddType text/html .html
AddHandler server-parsed .html

(found it on the Apache website)

Now it works!

Thank you very much for your suggestions!

stippo