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]
XFileSharing Pro - File Not Found!
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Sure it's 404, cause you've commented file rewrite rule
Try this rule instead:
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]
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
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
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Try this one instead:
this problem is due to different versions of mod_rewrite.
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]