To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-18-2002, 08:26 AM   #1
searain
Senior Member
 
Join Date: Aug 2002
Posts: 666
why internet explorer open a download window on html files

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?
searain is offline   Reply With Quote
Old 10-20-2002, 08:10 AM   #2
jasongonella
Junior Member
 
Join Date: Mar 2001
Posts: 21
Also, have you assed the extensions in the apache config file?

i.e. Addtype .html etc...
jasongonella is offline   Reply With Quote
Old 10-20-2002, 01:53 PM   #3
searain
Senior Member
 
Join Date: Aug 2002
Posts: 666
jason is right, i think

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
searain is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:11 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.