[PROBLEM] File Not Found!!

Powerfull XFileSharing version

Moderator: admin

Message
Author
spyer
Posts: 28
Joined: Mar 27, 2008 9:53 am

[PROBLEM] File Not Found!!

#1 Postby spyer » May 10, 2008 6:12 pm

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: Select all

/var/cgi-bin/uploads/00000/abcd12345


what seems to be the problem?

i really need the help.. thanks

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » May 12, 2008 6:13 am

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

Code: Select all

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]

spyer
Posts: 28
Joined: Mar 27, 2008 9:53 am

#3 Postby spyer » May 12, 2008 3:01 pm

thx m8, that fixed it :)

Namaless
Posts: 107
Joined: Apr 20, 2008 12:10 pm
Location: Italy

#4 Postby Namaless » May 13, 2008 7:43 pm

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

Code: Select all

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.

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#5 Postby PilgrimX182 » May 14, 2008 5:29 am

You can update, yes.

Namaless
Posts: 107
Joined: Apr 20, 2008 12:10 pm
Location: Italy

#6 Postby Namaless » May 14, 2008 6:42 am

PilgrimX182 wrote:You can update, yes.

Thanks. Regards.

ttanemori
Posts: 8
Joined: May 30, 2008 10:41 pm

I am also in trouble with the secondary server

#7 Postby ttanemori » Jun 10, 2008 8:01 pm

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.

admin
Site Admin
Posts: 1794
Joined: Mar 22, 2006 12:32 pm

Re: I am also in trouble with the secondary server

#8 Postby admin » Jun 11, 2008 9:43 am

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.

ttanemori
Posts: 8
Joined: May 30, 2008 10:41 pm

#9 Postby ttanemori » Jun 11, 2008 6:50 pm

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/t6xf0aqj ... 7.jpg.html

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

Any solution?


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 1 guest