| View previous topic :: View next topic |
| Author |
Message |
Royal
Joined: 14 Jul 2008 Posts: 3
|
Posted: Jul 14, 2008 12:09 am Post subject: File Not Found! |
|
|
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] |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jul 14, 2008 6:27 am Post subject: |
|
|
Sure it's 404, cause you've commented file rewrite rule
Try this rule instead:
| Code: | | 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 |
|
 |
Royal
Joined: 14 Jul 2008 Posts: 3
|
Posted: Jul 14, 2008 12:33 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jul 15, 2008 11:05 am Post subject: |
|
|
Try this one instead:
| Code: | | 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. |
|
| Back to top |
|
 |
Royal
Joined: 14 Jul 2008 Posts: 3
|
Posted: Jul 15, 2008 5:38 pm Post subject: |
|
|
| sorry didnt work.. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jul 16, 2008 12:33 pm Post subject: |
|
|
| PM me FTP access plz. I will play with it. |
|
| Back to top |
|
 |
|