where is php for creating download link

Phoca Download - download manager
navibd
Phoca Enthusiast
Phoca Enthusiast
Posts: 83
Joined: 18 Jul 2010, 18:10

where is php for creating download link

Post by navibd »

Hi
I have joomla 1.5.23 and Phocadownload 1.39
I want to assign phocadl folder to DL.mysite.com
I can do this but , I want to change file link creation from
www.mysite.com/phocadl/xxx/file.exe
to
DL.mysite.com/xxx/file.exe

Which file I have to modify in component? Is it in component folder of administrator section or in component folder in SITE?


urgent help!

actually I have files with 4 or 5 GB volume, so my webserver get 504 Gateway timeout error..
I have a dedicated Server with 16GB RAM and Xeon- quad core Cpu.....
I want to create speciall webserver only for download... that is my main problem...
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: where is php for creating download link

Post by SonRiab »

You can modify the generated link in components/com_phoca.../views/category/tmpl/default_files.php and if you use the possibility to show details before download components/com_phoca.../views/file/tmpl/default.php but Joomla/PD would not find the right files if you click the link. The only way to achieve this is to add one rewrite rule to your webserver configuration (or maybe more) which rewrite internally dl.mysite.com/xxx/file.exe back to http://www.mysite.com/phocadl/xxx/file.exe.

[edit]
I am not sure if it works but you can give it a try: http://www.seblod.com/support/documenta ... sites.html .
[/edit]
navibd
Phoca Enthusiast
Phoca Enthusiast
Posts: 83
Joined: 18 Jul 2010, 18:10

Re: where is php for creating download link

Post by navibd »

which Line exactly?
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: where is php for creating download link

Post by SonRiab »

25-38 in default_files.php ;)
Post Reply