XFileSharing Pro - File Not Found!

Message
Author
Royal
Posts: 3
Joined: Jul 14, 2008 12:06 am

File Not Found!

#1 Postby Royal » Jul 14, 2008 12:09 am

File Not Found!

Hello, every time i try uploading then downloading, its says file not found.

here is my .htaccess as you see i made a comment on the 3rd rule, becuase it wasnt working, i waqs getting error 500, after commenting it was fine, i just hvae the file not found issue thanks.

[CENSORED]

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Jul 14, 2008 6:27 am

Sure it's 404, cause you've commented file rewrite rule :)
Try this rule instead:

Code: Select all

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]

Royal
Posts: 3
Joined: Jul 14, 2008 12:06 am

#3 Postby Royal » Jul 14, 2008 12:33 pm

thanks, i mange too access the file download but, when i click free download i get:

500 internal server error.

any help?

here is the htaccess:

deny from 127.1.1.4
deny from 127.1.1.1
RewriteEngine on

RewriteRule ^$ /cgi-bin/index.cgi [L]
RewriteRule ([0-9A-Za-z]{12})-del-([0-9A-Za-z]+)/.+$ /cgi-bin/index.cgi?del=$1-$2 [L]

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]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([0-9A-Za-z\-_]+)(/[0-9a-z\-_]*/?|$)$ /cgi-bin/index.cgi?op=user_public&usr_login=$1&fld=$2 [L,NC]

RewriteRule ^latest-files(\d*).html$ /cgi-bin/index.cgi?op=catalogue&page=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z0-9\-\_]+).html(.*) /cgi-bin/index.cgi?op=page&tmpl=$1$2 [L]

ErrorDocument 404 /404.html

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Jul 15, 2008 11:05 am

Try this one instead:

Code: Select all

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]
this problem is due to different versions of mod_rewrite.

Royal
Posts: 3
Joined: Jul 14, 2008 12:06 am

#5 Postby Royal » Jul 15, 2008 5:38 pm

sorry didnt work..

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#6 Postby PilgrimX182 » Jul 16, 2008 12:33 pm

PM me FTP access plz. I will play with it.