Author Topic: Internet Explorer cannot download index.php from mydomain.com  (Read 19822 times)

Thomas

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
In downloading Office (powerpoint, etc.) files in OpenGoo (over SSL, not sure if this matters) in Internet Explorer 8, and we get the following message:

..."Internet Explorer cannot download index.php from mydomain.com"...

It works perfectly fine in Firefox 3.0.10. I can do some testing if needed, let me know.

We are using Version 1.4.1.

Any suggestions?


werner.wuerfel

  • Sr. Member
  • ****
  • Posts: 319
    • View Profile
Re: Internet Explorer cannot download index.php from mydomain.com
« Reply #1 on: June 01, 2009, 05:03:12 am »
Hi Thomas,

OpenGoo works mutch better with Firefox3 then with IE (Version 6-8).

If it is possibly use Firefox3 for the work with OpenGoo.

Greats
Werner Wuerfel

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Internet Explorer cannot download index.php from mydomain.com
« Reply #2 on: June 01, 2009, 09:54:18 am »
Does this happen with every file, or only with these office documents ?

andy.loh

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Internet Explorer cannot download index.php from mydomain.com
« Reply #3 on: June 09, 2009, 07:08:22 am »
I had the similar problem. Any solutions?

tjwallace

  • Newbie
  • *
  • Posts: 3
    • View Profile
« Last Edit: July 30, 2009, 01:14:42 pm by tjwallace »

tjwallace

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Internet Explorer cannot download index.php from mydomain.com
« Reply #5 on: July 30, 2009, 04:39:11 pm »
Got it working, just follow these steps...

1. Run sudo a2enmod Headers to make sure the Headers module is enabled.
2. Edit /etc/apache2/site-enabled/default-ssl and add the following after the <Directory …>…</Directory> code block
Code: [Select]
<Files index.php>
     Header unset Pragma
     Header unset Cache-Control
</Files>
3. Restart apache with sudo /etc/init.d/apache2 restart

This was done with a Ubuntu 9.04 server

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Internet Explorer cannot download index.php from mydomain.com
« Reply #6 on: August 03, 2009, 05:51:14 pm »
Can you explain what this does? Is there anything we can do on the application to avoid this issue (like sending some headers when downloading a file)?

You can see which headers we are sending for downloads on 'environment/function/files.php' line 329 onwards.

Thanks.

tjwallace

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Internet Explorer cannot download index.php from mydomain.com
« Reply #7 on: August 04, 2009, 12:46:28 am »
Can you explain what this does? Is there anything we can do on the application to avoid this issue (like sending some headers when downloading a file)?

You can see which headers we are sending for downloads on 'environment/function/files.php' line 329 onwards.

Thanks.
Basically when a user requests to download a file, the PHP script cannot set the "Pragma" or "Cache-Control" headers, otherwise IE won't accept it.

interjinn

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Internet Explorer cannot download index.php from mydomain.com
« Reply #8 on: February 07, 2010, 06:31:37 am »
See my solution for this issue here:

    http://forums.fengoffice.com/index.php?topic=2242.0

I have tested this to work in IE6, 7, and 8.

Cheers,
Rob.