Downloading problems
Internet Explorer over HTTPS: Internet Explorer Cannot Download [...]
Please set "session.cache_limiter" to "private_no_expire", in your PHP configuration. It should fix the problem. The problem is caused by a weird Internet Explorer behavior.
Downloading very large files
For FastCGI Servers (Usually Microsoft IIS)
If the transfer stops for no apparent reason while downloading large files, try increasing the values of "RequestTimeout" and "ActivityTimeout" FastCGI configuration directives (on Windows servers, the location of the file is usually "%WINDIR%system32inetsrvfcgiext.ini"). The default values do not accommodate downloading large files over slow Internet connections.
For Apache Web Servers
Applies to Web File Share version (020710A)
Requirements
- Apache web server (it doesn't work with IIS or other web servers)
- Apache module "mod_rewrite" needs to be enabled
- (on Linux servers in particular) the users under which Apache is running (usually "www" or "apache") must have permission to access the files that are to be downloaded. Sometimes Apache's access is limited to the "www" or "public_html" folder and additional permissions must be configured.
To enable the workaround, please follow these steps:
- Open "/path-to-WebFileShare/customizables/config.php" in a text editor
- Copy the following three lines of PHP code at the end of the file:
$config['enable_download_trick'] = true;
$config['download_trick_minimum_filesize'] = 20971520;//in bytes, recommened value: 20971520 (20MB)
$config['download_trick_links_life'] = 10; //in seconds, recommended value 10
- If the code already exists in the file, you can simply replace "false" with "true".
- Make sure a file named ".htaccess" is availabe inside the folder "/path-to-WebFileShare/download". If a file "htaccess.txt" exists in the folder, please rename it to ".htaccess".
Troubleshooting
If you are getting a "500 Internal Server Error" when trying to download files, most probably "mod_rewrite" is not available on your server.
If you are getting a "404 File Not Found" error, please make sure the file ".htaccess" is located in the folder "/path-to-WebFileShare/download", it is not empty and has proper permission settings. If you are accessing the Web File Share installation using a subdomain, you should add "RewriteBase /download/", right after "RewriteEngine On", inside the ".htaccess" file.