opensource2009
Programmer
Hi all,
I have a client who wants to upload large files to their website. The timeout of Apache is set to a low value to minimize the effects of DOS attacks.
How do I enable my client from uploading large files? I have the following options in mind, please let me know which one you recommend and why (or if you recommend a solution that I haven't mentioned):
1. Increase the timeout value.
2. Use an FTP server and ask the users to upload their files using an FTP client.
3. Install another Apache webserver on the same machine but listening to port 81, for example. The uploaded file will be submitted to the second webserver, which has a high timeout value.
4. Is there a solution using Javascript to upload the file on chunks? If so, I can upload every 1MB in one form submit until the file is fully transferred.
If possible, I'd like to implement option #4 as it is a seamless solution, it gives the user an idea of how long it will take to complete the upload, and the timeout value is still low at the same time.
Thanks in advance
I have a client who wants to upload large files to their website. The timeout of Apache is set to a low value to minimize the effects of DOS attacks.
How do I enable my client from uploading large files? I have the following options in mind, please let me know which one you recommend and why (or if you recommend a solution that I haven't mentioned):
1. Increase the timeout value.
2. Use an FTP server and ask the users to upload their files using an FTP client.
3. Install another Apache webserver on the same machine but listening to port 81, for example. The uploaded file will be submitted to the second webserver, which has a high timeout value.
4. Is there a solution using Javascript to upload the file on chunks? If so, I can upload every 1MB in one form submit until the file is fully transferred.
If possible, I'd like to implement option #4 as it is a seamless solution, it gives the user an idea of how long it will take to complete the upload, and the timeout value is still low at the same time.
Thanks in advance