Click to See Complete Forum and Search --> : why internet explorer open a download window on html files


searain
10-18-2002, 08:26 AM
i have some .html files. they were running fine on pc platform.

after i move the site to a sun cobalt linux platform, and update the httpd.conf and restart the apache.

i run into some strange problems:

some of my .html files cannot be displayed on internet explorer, instead, the internet explorer pop up a download window: getting file information ... and begin to download, but it seems nothing go through, so the download window just sitting there.

and i updated my internet explorer 6 to the newest version, and i still get the download window, but this time, the message is different, and it is not a automatically download window any more, ask me if i want to download the file or not?

and if i use netscape on them, they are all fine. some of them may have javascript error alerts, but not auto pop up a download window.

as i mentioned above, they are also fine on pc platform. but on linux/apache (sun cobalt), they give me these crazy download windows, but they are .htm and .html!!!

any help?

jasongonella
10-20-2002, 08:10 AM
Also, have you assed the extensions in the apache config file?

i.e. Addtype .html etc...

searain
10-20-2002, 01:53 PM
jason i think you are right.

i did try to parse html as php, but somehow failed. and some html document is not recognized.

and i run into the errors after that.

but i did change everything back to original set up and restart the apache but the error was still there.

and i did not know if these errors were there before so i assumed it was caused by some other reasons.

my guess is that even i change the set up back to orignial and restart the apache, but i didn't killall threads, so some wrong threads are still running. after i killall and change the set up back to normal, everything is fine.

although, i still need to know how to parse html to php in sun cobalt.

the statement addType does work out.

thanks