Downloads dont work in middle east asia =S (Wrong IP proble)

Powerfull XFileSharing version

Moderator: admin

Message
Author
ihavenoidea
Posts: 19
Joined: Oct 14, 2009 11:21 pm

Downloads dont work in middle east asia =S (Wrong IP proble)

#1 Postby ihavenoidea » Nov 28, 2009 6:33 pm

As the title suggests..

A few people have reported to me from those areas in the world saying they get their pages displaying "Wrong IP" when they press the download button.
How can this be fixed?

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am
Contact:

#2 Postby adiga » Nov 28, 2009 9:00 pm

in version 1.6 select setting > files tab

Allow download from : 111.222.333.*** or 111.222.***.*** or All IPs

ihavenoidea
Posts: 19
Joined: Oct 14, 2009 11:21 pm

#3 Postby ihavenoidea » Nov 28, 2009 9:01 pm

Can this be done in 1.5? I havent upgraded to 1.6

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am
Contact:

#4 Postby adiga » Nov 28, 2009 11:00 pm

in api.cgi
disable this line


Code: Select all

print FILE "RewriteEngine on\nRewriteCond %{REMOTE_ADDR} !^$ip\$\nRewriteRule ^.*\$ $c->{site_url}/404.html";


Place # before

ihavenoidea
Posts: 19
Joined: Oct 14, 2009 11:21 pm

#5 Postby ihavenoidea » Nov 28, 2009 11:06 pm

adiga wrote:in api.cgi
disable this line


Code: Select all

print FILE "RewriteEngine on\nRewriteCond %{REMOTE_ADDR} !^$ip\$\nRewriteRule ^.*\$ $c->{site_url}/404.html";


Place # before


But wont this completely disable IP limiting? I just want to fix it for middle east/asia users without decreasing security (if at all)

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am
Contact:

#6 Postby adiga » Nov 28, 2009 11:45 pm

There is no solution other than this
Im also suffer from this problem
I advise you to upgrade to 1.6

ihavenoidea
Posts: 19
Joined: Oct 14, 2009 11:21 pm

#7 Postby ihavenoidea » Nov 28, 2009 11:54 pm

adiga wrote:There is no solution other than this
Im also suffer from this problem
I advise you to upgrade to 1.6

Is there no documentation or how to change just backend of the script to 1.6? I dont want to have to remake the whole template again

adiga
Posts: 177
Joined: Jul 23, 2009 2:27 am
Contact:

#8 Postby adiga » Nov 29, 2009 3:45 pm

I do not know specifically
What is changing template

ihavenoidea
Posts: 19
Joined: Oct 14, 2009 11:21 pm

#9 Postby ihavenoidea » Nov 29, 2009 3:56 pm

Like the templates directory, status.html page etc

ihavenoidea
Posts: 19
Joined: Oct 14, 2009 11:21 pm

#10 Postby ihavenoidea » Dec 01, 2009 11:40 pm

ok so I commented out that line, but im still getting the Wrong IP problem =S

cuty
Posts: 103
Joined: Apr 14, 2009 11:20 pm

#11 Postby cuty » Dec 02, 2009 4:35 am

somtimes users from all over are gettting wrong ip, I still cant get a fix an contacted support **sighss


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests