SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
[PROBLEM] File Not Found!!

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
spyer



Joined: 27 Mar 2008
Posts: 28

PostPosted: May 10, 2008 6:12 pm    Post subject: [PROBLEM] File Not Found!! Reply with quote

Good day,

i'm having some problems with my website..

when i uploads a file for example: fileA.zip

after the upload is complete i get a link like this

http://www.website.com/abcd12345/fileA.zip.html

when i click on the link i'll get a message "No Such File".

in the file list like "my files" or "admin file management" i can see the file, also in the FTP i can see the file "abcd12345" in
Code:
/var/cgi-bin/uploads/00000/abcd12345


what seems to be the problem?

i really need the help.. thanks
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: May 12, 2008 6:13 am    Post subject: Reply with quote

I think it's problem with mod_rewrite.
Add this to the .htaccess in public_html, below "RewriteEngine on":

Code:
RewriteCond   %{REQUEST_FILENAME} !-f
RewriteRule    ^([0-9A-Za-z\-_]*)/?([0-9A-Za-z]{12})(/[^\/]*|)(\.html?|$)$   /cgi-bin/index.cgi?op=download1&usr_login=$1&id=$2&fname=$3 [L]
Back to top
View user's profile Send private message Visit poster's website AIM Address
spyer



Joined: 27 Mar 2008
Posts: 28

PostPosted: May 12, 2008 3:01 pm    Post subject: Reply with quote

thx m8, that fixed it Smile
Back to top
View user's profile Send private message
Namaless



Joined: 20 Apr 2008
Posts: 107
Location: Italy

PostPosted: May 13, 2008 7:43 pm    Post subject: Reply with quote

PilgrimX182 wrote:
I think it's problem with mod_rewrite.
Add this to the .htaccess in public_html, below "RewriteEngine on":

Code:
RewriteCond   %{REQUEST_FILENAME} !-f
RewriteRule    ^([0-9A-Za-z\-_]*)/?([0-9A-Za-z]{12})(/[^\/]*|)(\.html?|$)$   /cgi-bin/index.cgi?op=download1&usr_login=$1&id=$2&fname=$3 [L]

Need update my site??

Regards.
Back to top
View user's profile Send private message MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: May 14, 2008 5:29 am    Post subject: Reply with quote

You can update, yes.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Namaless



Joined: 20 Apr 2008
Posts: 107
Location: Italy

PostPosted: May 14, 2008 6:42 am    Post subject: Reply with quote

PilgrimX182 wrote:
You can update, yes.

Thanks. Regards.
Back to top
View user's profile Send private message MSN Messenger
ttanemori



Joined: 30 May 2008
Posts: 8

PostPosted: Jun 10, 2008 8:01 pm    Post subject: I am also in trouble with the secondary server Reply with quote

I have an exactly same problem, but this happens only to my secondary (extra File Server) server.

http://my_second_domain.com/files/5/file_name.zip

Because it is the secondary server, "public_html" does not have .htaccess.

Where should I edit?

Thank you.
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 22 Mar 2006
Posts: 130

PostPosted: Jun 11, 2008 9:43 am    Post subject: Re: I am also in trouble with the secondary server Reply with quote

ttanemori wrote:
I have an exactly same problem, but this happens only to my secondary (extra File Server) server.

http://my_second_domain.com/files/5/file_name.zip

Because it is the secondary server, "public_html" does not have .htaccess.

Where should I edit?

Thank you.


You need .htaccess from FS-dist folder.
Back to top
View user's profile Send private message Send e-mail
ttanemori



Joined: 30 May 2008
Posts: 8

PostPosted: Jun 11, 2008 6:50 pm    Post subject: Reply with quote

I am sorry, but I got confused. My "FS-dist" folder has two folders, cgi-bin and htdocs.

In htdocs, I can see only one folder, "files"

In the "files," I can see ".htaccess"


On my External File server, public_html has "files" and "cgi-bin." They are exactly same as what you gave me. In other words, .htaccess is in public_html/files/

I added code as advised above, but it still does not work.

http://www.blessingamerica.org/t6xf0aqjrbjo/DSC_0187.jpg.html

This will generate a link from my external file server. The created link does not work.

Any solution?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group