Can anyone help? I am setting up a site and it needs to have SSL on, i therefore have enabled Force SSL in the server configuration within Joomla.
Since this happened files will not download from the site from Phoca Download? I can preview them, but not download? I switched of Force SSL and they were available for download? So is there a workaround to enable SSL and be able to download documents?
Thanks.
Download Problem
- Jan
- Phoca Hero
- Posts: 48743
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Download Problem
Hi, please let me know the site where this occurs (with ssl enabled) so I can see where can be the problem.
Thank you, Jan
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 16 Nov 2009, 16:41
Re: Download Problem
Jan,
I have sent you a PM as there are login details to the site.
Danny
I have sent you a PM as there are login details to the site.
Danny
-
- Phoca Newbie
- Posts: 8
- Joined: 16 Nov 2009, 16:41
Re: Download Problem
Solved it!!
Jan i have found a solution to the problem that was indicated by my host.
I have cut and pasted their response below...
Edit this file:
components/com_phocadownload/helpers/phocadownload.php lines 80-83
Comment out these lines:
// header("Pragma: public");
// header('Cache-Control: no-store, no-cache, must-revalidate');
// header('Cache-Control: pre-check=0, post-check=0, max-age=0');
// header('Pragma: no-cache');
// header('Expires: 0');
and add this line at the same location:
header('Cache-Control: private, max-age=0, must-revalidate, no-store');
Jan i have found a solution to the problem that was indicated by my host.
I have cut and pasted their response below...
Edit this file:
components/com_phocadownload/helpers/phocadownload.php lines 80-83
Comment out these lines:
// header("Pragma: public");
// header('Cache-Control: no-store, no-cache, must-revalidate');
// header('Cache-Control: pre-check=0, post-check=0, max-age=0');
// header('Pragma: no-cache');
// header('Expires: 0');
and add this line at the same location:
header('Cache-Control: private, max-age=0, must-revalidate, no-store');
- Jan
- Phoca Hero
- Posts: 48743
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Download Problem
Ok thanks for the information.
Jan
Jan
If you find Phoca extensions useful, please support the project