Jump to content

uploaded.to

How Make Files Place In Port 8080 To Download?

rapidleech discussion program

7 replies to this topic

#1 rapidhost

    Rapidleecher

  • Members
  • PipPipPipPip
  • 133 posts
  • Gender:Male
  • Location:Asian
  • Interests:Be a proffesional Entrepreneurs for Rapidleech Hosting

Posted 04 February 2012 - 03:26 AM

Hello rapidleecher users mania,

meet again with me, hahaha....
morning every one... happy new year or valentine days yeah.....

I got problem to set scripting rapidleech my files area to be location another port
I build server with 2 web server apache with nginx
so port 80 I used for the web so far so good running well
but the problem is when I try to create folder directory for files area to download, is still can not be located for files with another port.

Let say, "for apache I used port 80, and for my files I would like to located port 8080"
there is my problems, can anyone help me to solve this.....
I used domain let say : rapidhost.com/index.php as transload with port 80 as default
this config default :

 
$options = array (
  'download_dir' => 'files/',  -------->>> by default is
  'download_dir_is_changeable' => false,



rapidlhost.com:8080/files/name-of-files-want-to-download.zip
and what config is for this settings?

$options = array (
  'download_dir' => '8080:files/',  -------->>> still get wrong coding.... :wacko:
  'download_dir_is_changeable' => false,



Please help my problem bro.........

#2 rapidhost

    Rapidleecher

  • Members
  • PipPipPipPip
  • 133 posts
  • Gender:Male
  • Location:Asian
  • Interests:Be a proffesional Entrepreneurs for Rapidleech Hosting

Posted 04 February 2012 - 03:50 AM

edited

Edited by rapidhost, 04 February 2012 - 03:54 AM.


#3 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 04 February 2012 - 04:03 AM

i thought you should use .htaccess, mod_rewrite,etc.. for doing this job than modify the code

#4 rapidhost

    Rapidleecher

  • Members
  • PipPipPipPip
  • 133 posts
  • Gender:Male
  • Location:Asian
  • Interests:Be a proffesional Entrepreneurs for Rapidleech Hosting

Posted 05 February 2012 - 07:36 AM

View Postvdhdevil, on 04 February 2012 - 04:03 AM, said:

i thought you should use .htaccess, mod_rewrite,etc.. for doing this job than modify the code


Bro thank you for your advise.
can you help me show the code for mod_rewrite with sample domain :
url : rapidlhost.com/files/name-of-files-want-to-download.zip

into
rapidlhost.com:8080/files/name-of-files-want-to-download.zip

because in the files directory will be many files with customize name...
need your advised

#5 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 05 February 2012 - 11:45 AM

try this:
RewriteRule ^files/(.*)$ http://domain:8080/files/$1 [NC,P,L]

#6 rapidhost

    Rapidleecher

  • Members
  • PipPipPipPip
  • 133 posts
  • Gender:Male
  • Location:Asian
  • Interests:Be a proffesional Entrepreneurs for Rapidleech Hosting

Posted 05 February 2012 - 03:10 PM

I had tried to insert with your command :
RewriteRule ^files/(.*)$ http://rapidhost.com:8080/files/$1 [NC,P,L]


but there is seems in my vps doesn't work yet...
please let me know the solution vdhdevil?

#7 vdhdevil

    Rapidleecher

  • Members
  • PipPipPipPip
  • 654 posts
  • Gender:Male
  • Location:Viet Nam

Posted 05 February 2012 - 04:04 PM

my mistake, try this
RewriteRule ^files/(.*)$ http://rapidhost.com:8080/files/$1 [NC,R,L]

Edited by vdhdevil, 05 February 2012 - 04:05 PM.


#8 rapidhost

    Rapidleecher

  • Members
  • PipPipPipPip
  • 133 posts
  • Gender:Male
  • Location:Asian
  • Interests:Be a proffesional Entrepreneurs for Rapidleech Hosting

Posted 05 February 2012 - 07:58 PM

vdhdevil I still can not download with RewriteRule, what is the problem?
if I want to change scripting rapidleech to directory download from which section files php I should add, please give me information. thank you