[racktables-users] Re: File downloads in IE not working - works fine in FF

Tim,

You might try adding two new headers to the download.php file and see if this 
helps.

Add:
    header("Pragma: ");
    header("Cache-Control: ");

Right above:
    header("Content-Type: {$file['type']}");


I looked at the source code for both 0.18.6 and the 0.19.10 both look very 
similar so chances are you'd still have this issue with the latest code as 
well.  If adding the additional headers fixes your problem, then this fix could 
be added to the index.php under version 19.10 which is where the download code 
appears to have been moved to.

Hope this fixes your IE problem.

Ernie




On Nov 3, 2011, at 12:40 PM, Alexey Andriyanov wrote:

> Try if the problem persists with the latest release, obviously.
> 
> 03.11.2011 21:14, Manochehri, Tim пишет:
>> 
>> Hey all,
>> 
>> So we are using RT 18.6 {I know! its old}.
>> 
>> However, when an IE users tries to download a file it fails.
>> Works fine in FireFox...
>> 
>> When I click on the download icon in IE - it errors out.
>> 
>> Stating "IE cannot download download.php from<our racktables url>"
>> 
>> "IE was not able to open this Internet site. The requested site is
>> either unavailable
>> or cannot be found. Please try again later."
>> 
>> IE version 8 {windows xp SP3}.
>> 
>> Please advise...
>> 
>> Tim Manochehri
>> Sr. Unix Systems Engineer
>> 
>> 
> 
> 
> -- 
> Best regards,
> Alexey
> 


Other related posts: