[SOLVED] Apache does not deliver a big file
Posted: Thu Apr 14, 2011 2:19 pm
I have allowed for 1024M upload size, upload happens successfully, but download fails.
This happens for a file with about 900MB; a smaller file withabout 200MB can be uploaded and downloaded.
Opera Error page:
----
Remote server or file not found
You tried to access the address http://vm178.rz.uos.de:8081/dfh/downloa ... ce5ddf44a9, which is currently unavailable. Please make sure that the web address (URL) is correctly spelled and punctuated, then try reloading the page.
...
---
Does anybody know how to tweak php.ini and apache.conf to cooperate?
Do you reccommend another web server (nginx, lighttpd with cgi-support) ?)
Some interesting php.ini values:
short_open_tag = On
max_execution_time = 60
max_input_time = 60
memory_limit = 256M
error_reporting = E_ALL
display_errors = Off
log_errors = On
file_uploads = On
upload_tmp_dir = /data/dfh/tmp
upload_max_filesize = 1024M
post_max_size = 1024M
...
Apache error_log.
[Thu Apr 14 16:05:39 2011] [error] [client 131.173.61.235] File does not exist: /var/www/html/dfh/img/captcha-a.png, referer: http://vm178.rz.uos.de:8081/dfh/downloa ... .1_OSX.dmg
[Thu Apr 14 16:06:17 2011] [error] [client 131.173.61.235] PHP Notice: Undefined variable: rating in /var/www/html/dfh/ratingbar.php on line 43, referer: http://vm178.rz.uos.de:8081/dfh/admin.php
[Thu Apr 14 16:06:17 2011] [error] [client 131.173.61.235] PHP Notice: Undefined index: width in /var/www/html/dfh/ratingbar.php on line 12, referer: http://vm178.rz.uos.de:8081/dfh/admin.php
[Thu Apr 14 16:06:17 2011] [error] [client 131.173.61.235] PHP Notice: Undefined index: height in /var/www/html/dfh/ratingbar.php on line 13, referer: http://vm178.rz.uos.de:8081/dfh/admin.php
[Thu Apr 14 16:07:10 2011] [error] [client 131.173.61.235] File does not exist: /var/www/html/dfh/img/button03.gif\\, referer: http://vm178.rz.uos.de:8081/dfh/downloa ... ecific.EXE
[Thu Apr 14 16:07:10 2011] [error] [client 131.173.61.235] File does not exist: /var/www/html/dfh/\\"img, referer: http://vm178.rz.uos.de:8081/dfh/downloa ... ecific.EXE
[Thu Apr 14 16:07:10 2011] [error] [client 131.173.61.235] File does not exist: /var/www/html/dfh/img/captcha-a.png, referer: http://vm178.rz.uos.de:8081/dfh/downloa ... ecific.EXE
This happens for a file with about 900MB; a smaller file withabout 200MB can be uploaded and downloaded.
Opera Error page:
----
Remote server or file not found
You tried to access the address http://vm178.rz.uos.de:8081/dfh/downloa ... ce5ddf44a9, which is currently unavailable. Please make sure that the web address (URL) is correctly spelled and punctuated, then try reloading the page.
...
---
Does anybody know how to tweak php.ini and apache.conf to cooperate?
Do you reccommend another web server (nginx, lighttpd with cgi-support) ?)
Some interesting php.ini values:
short_open_tag = On
max_execution_time = 60
max_input_time = 60
memory_limit = 256M
error_reporting = E_ALL
display_errors = Off
log_errors = On
file_uploads = On
upload_tmp_dir = /data/dfh/tmp
upload_max_filesize = 1024M
post_max_size = 1024M
...
Apache error_log.
[Thu Apr 14 16:05:39 2011] [error] [client 131.173.61.235] File does not exist: /var/www/html/dfh/img/captcha-a.png, referer: http://vm178.rz.uos.de:8081/dfh/downloa ... .1_OSX.dmg
[Thu Apr 14 16:06:17 2011] [error] [client 131.173.61.235] PHP Notice: Undefined variable: rating in /var/www/html/dfh/ratingbar.php on line 43, referer: http://vm178.rz.uos.de:8081/dfh/admin.php
[Thu Apr 14 16:06:17 2011] [error] [client 131.173.61.235] PHP Notice: Undefined index: width in /var/www/html/dfh/ratingbar.php on line 12, referer: http://vm178.rz.uos.de:8081/dfh/admin.php
[Thu Apr 14 16:06:17 2011] [error] [client 131.173.61.235] PHP Notice: Undefined index: height in /var/www/html/dfh/ratingbar.php on line 13, referer: http://vm178.rz.uos.de:8081/dfh/admin.php
[Thu Apr 14 16:07:10 2011] [error] [client 131.173.61.235] File does not exist: /var/www/html/dfh/img/button03.gif\\, referer: http://vm178.rz.uos.de:8081/dfh/downloa ... ecific.EXE
[Thu Apr 14 16:07:10 2011] [error] [client 131.173.61.235] File does not exist: /var/www/html/dfh/\\"img, referer: http://vm178.rz.uos.de:8081/dfh/downloa ... ecific.EXE
[Thu Apr 14 16:07:10 2011] [error] [client 131.173.61.235] File does not exist: /var/www/html/dfh/img/captcha-a.png, referer: http://vm178.rz.uos.de:8081/dfh/downloa ... ecific.EXE