Everything works when I upload it however when I try to download it just gives me the frustrating 404 error file not found. So I went through the forums and tried to find every possible solution. I have already checked and have the htaccess files in both the sub directory and normal file directory. I have also tried changing rewrite base to /upload/ (where I have installed my file hosting script). I have also check mod_rewrite and downloaded a php file to test it. link: http://www.optimalupload.com/upload/check_mod.php I have also tried to check using http://www.optimalupload.com/upload/check_host.php . Nothing has worked so far. I am using my own dedicated sever controlled by SSH with Lamp installed and all other mods to run the scripts. Here is my website address:
www.optimalupload.com. I will upload my htaccess files.. Can anyone help me? I can upload anything you need or provide you with control if your an admin.
Here is an example log from your script: continues all the way down with the same pattern:
===========================================================
2014-03-18 03:34:52 - Upload request to uploadHandler.php: Array
(
[r] => www.optimalupload.com
[p] => http
[_sessionid] => qbtq4utn1642i41stjfqu4f5p0
[cTracker] => 4928fdf4c87cf65b811d0013aea2773a
[maxChunkSize] => 2092152
)
===========================================================
2014-03-18 03:40:16 - Upload request to uploadHandler.php: Array
(
[r] => www.optimalupload.com
[p] => http
[_sessionid] => qbtq4utn1642i41stjfqu4f5p0
[cTracker] => 4d2391164cca67c2c03ec199ac4d5c7f
[maxChunkSize] => 2092152
)
===========================================================
This is my access File located in the upload sub directory and the main / directory.
# override max php upload settings. Might not work on all servers
#php_value upload_max_filesize 4000M
#php_value post_max_size 4000M
# redirect www to non-www
# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteEngine On
#RewriteRule . - [E=no-gzip]
RewriteBase /upload/
RewriteCond %{REQUEST_URI} ^(.+)\~s$
RewriteRule ^(.*) stats.php?u=$1 [L]
RewriteCond %{REQUEST_URI} ^(.+)\~d$
RewriteRule ^(.*) delete_file.php?u=$1 [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~i$
RewriteRule ^(.*) share_file.php?u=$1 [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~f$
RewriteRule ^(.*) view_folder.php?f=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.html$
RewriteRule ^(.*) file_download.php?u=$1 [QSA,L]
RewriteRule ^(.*).html$ $1.php [QSA,L]
www.optimalupload.com. I will upload my htaccess files.. Can anyone help me? I can upload anything you need or provide you with control if your an admin.
Here is an example log from your script: continues all the way down with the same pattern:
===========================================================
2014-03-18 03:34:52 - Upload request to uploadHandler.php: Array
(
[r] => www.optimalupload.com
[p] => http
[_sessionid] => qbtq4utn1642i41stjfqu4f5p0
[cTracker] => 4928fdf4c87cf65b811d0013aea2773a
[maxChunkSize] => 2092152
)
===========================================================
2014-03-18 03:40:16 - Upload request to uploadHandler.php: Array
(
[r] => www.optimalupload.com
[p] => http
[_sessionid] => qbtq4utn1642i41stjfqu4f5p0
[cTracker] => 4d2391164cca67c2c03ec199ac4d5c7f
[maxChunkSize] => 2092152
)
===========================================================
This is my access File located in the upload sub directory and the main / directory.
# override max php upload settings. Might not work on all servers
#php_value upload_max_filesize 4000M
#php_value post_max_size 4000M
# redirect www to non-www
# RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
# RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteEngine On
#RewriteRule . - [E=no-gzip]
RewriteBase /upload/
RewriteCond %{REQUEST_URI} ^(.+)\~s$
RewriteRule ^(.*) stats.php?u=$1 [L]
RewriteCond %{REQUEST_URI} ^(.+)\~d$
RewriteRule ^(.*) delete_file.php?u=$1 [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~i$
RewriteRule ^(.*) share_file.php?u=$1 [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~f$
RewriteRule ^(.*) view_folder.php?f=$1 [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.html$
RewriteRule ^(.*) file_download.php?u=$1 [QSA,L]
RewriteRule ^(.*).html$ $1.php [QSA,L]